want to join us? register, it's easy | help

browse by tag: beginner tutorials

sort by

newest, oldest, most popular


category icon

Using Stored Procedures & MySQLI in PHP 5

in PHP added by rvdavid, on 11/12/2007 beginner tutorials database mysql oo programming php5

For the occasions that you want to use a stored procedure you've written in MySQL 5 through PHP , the semantic tool to use is PHP's built in mysqli objects/package.

comment save report
category icon

Uploading Image Files with PHP

in PHP added by bs0d, on 9/12/2007 beginner tutorials database file handling mysql upload files

This article will guide you through step-by-step to learn how to upload and manage files using PHP.

comment save report
category icon

An Introduction to the Art of Unit Testing in PHP

in PHP added by CalEvans, on 4/12/2007 PHPUnit beginner tutorials simpleTest testing

Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.

comment save report
category icon

Using Type Juggling/Type Casting to Modify Data Types

in PHP added by goodphptutorials, on 30/11/2007 beginner tutorials types

We're going to be dealing with type juggling in this article. This is the process of instructing PHP how to handle the value after the type juggling. Type juggling can do absolutely all sorts, from converting integers to floats, arrays to objects, and even strings to binary as of PHP 5.2.1. It can also save you calling various functions and thus making your script quicker!

comment save report
category icon

Beginners PHP Part 3

in PHP added by Slipszenko, on 27/11/2007 beginner tutorials general

The last in the series of tutorials for absolute beginners to the PHP language

comment save report
category icon

Beginners PHP Part 2

in PHP added by Slipszenko, on 26/11/2007 beginner tutorials general php

A tutorial for complete beginners to PHP.

comment save report
category icon

Beginners PHP Part 1

in PHP added by Slipszenko, on 25/11/2007 beginner tutorials general php

A tutorial for total beginners to PHP.

comment save report
category icon

PHP Exception Handling

in PHP added by goodphptutorials, on 21/11/2007 beginner tutorials exception php5

With PHP 5 came a new object oriented way of dealing with errors. Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception.

comment save report
category icon

PHP PayPal ExpressCheckout Tutorial

in PHP added by goodphptutorials, on 19/11/2007 api beginner tutorials paypal

There are two different ways to use the PayPal API. The first, is the PayPal Direct Payment. PayPal Direct Payment will allow the customer to simply type in their information including their credit card number and process it invisibly through PayPal on your website.

comment save report
category icon

Setup a quick Yahoo Search page within a few minutes!

in PHP added by finalwebsites, on 18/11/2007 Zend beginner tutorials framework php5

Nice tutorial on using the Yahoo search web service with the classes from the Zend framework.

comment save report
category icon

Creating a Simple Currency Converter with Automatic Symbols

in PHP added by goodphptutorials, on 12/11/2007 beginner tutorials currency exchange rate

If you're from the UK then you'll appreciate this preface. If you're not then don't worry because I'll be doing the script from a USD perspective to satisfy the majority! Today we'll be making a currency converter, and as is common on Blue Peter, I'll be throwing bits of code at you like - here's one I made earlier! Basically what we'll be creating is a converter that automatically prepends the currency symbol to the front of the value and then works out the value in the currency that we specify.

comment save report
category icon

Getting to know GD

in PHP added by Sidewinder, on 9/11/2007 beginner tutorials gd general

Have you ever been on aim and received a message from one of your friends with a big long URL followed by something like John%20Is%20Stupid; You know what ever it is, wont be worth your time, but you click on it anyway to find someone goofy looking holding a sign and on it printed in big bold letters "John Is Stupid". Ever wonder how they work?

comment save report
category icon

How to: PHP Create Files

in PHP added by mig35, on 19/10/2007 beginner tutorials files

A basic tutorial on how to create and save files in php for beginners.

comment save report
category icon

How to create a basic rating system

in PHP added by goodphptutorials, on 8/10/2007 beginner tutorials database rating review

In this tutorial I will show you how to create a basic and simple to use rating system. To make the script more simple and database independent we will use simple files to store rating information.

comment save report
category icon

PHP multi-dimensional arrays

in PHP added by mig35, on 29/9/2007 arrays beginner tutorials multi-dimensional arrays

Array is most often used as a list of indexes and values. However, an array can also be used for storing key-value pair and each value could in tern be an another array as well. In such a way you can create two-dimensional or even three-dimensional arrays. In this tutorial, I attempt to explain how and when we use arrays.

comment save report
category icon

How to: PHP Sessions

in PHP added by mig35, on 23/9/2007 beginner tutorials session

Learn what sessions are and how to create, retrieve and delete sessions in PHP

comment save report
category icon

How To: Code Your First Web App (Part 3)

in PHP added by goodphptutorials, on 25/8/2007 beginner tutorials database framework mysql user

By now you are probably waiting for the final part of this web app series so you can actually begin putting something together from what you've learned in Part 1 and Part 2. I won't disappoint you then. I wrote an example web app available for download at the end of this article.

comment save report
category icon

How To: Code Your First Web App (Part 2)

in PHP added by goodphptutorials, on 23/8/2007 beginner tutorials database framework mysql user

In Part 1 of How To: Code Your First Web App, I covered the basics of setting up a MySQL database, connecting to it with PHP and then I introduced a few functions to create and manage users. At the end, I briefly went into setting up the header file which will be used with every file created from here on out. The next step is creating the main files that actually do things.

comment save report
category icon

How To: Code Your First Web App (Part 1)

in PHP added by goodphptutorials, on 22/8/2007 beginner tutorials database framework mysql user

In its most basic form, a web application is typically comprised of multiple files utilizing PHP and MySQL technologies on a LAMP server. PHP provides a powerful means of carrying out your web application's functions by way of server-side scripting while MySQL is used to store information in a database. In this series of posts I will be showing you how easy it is to create a simple web application framework which you can adapt for almost any purpose - all this with only basic PHP and MySQL knowledge.

comment save report
category icon

How to use Output Buffering in PHP

in PHP added by goodphptutorials, on 21/8/2007 beginner tutorials cache ob_start output buffering

Output buffering is something that often is forgotten by new people in PHP. You can create really powerful things with functions like ob_start and the other. Compress, replace and modify to mention a few.

comment save report
category icon

Beginning with PHP and AJAX

in PHP added by mig35, on 14/8/2007 AJAX Prototype beginner tutorials

Tutorial demonstrates how to write form submission in PHP and AJAX using prototype js library. A good beginners tutorial on PHP and AJAX.

comment save report
category icon

SQL Server FAQs - PHP ODBC Functions - Connection and Query Execution

in PHP added by karl, on 14/7/2007 ODBC SQL Server beginner tutorials

A collection of 14 FAQs on using PHP ODBC functions to connect to SQL Server databases. Clear explanations and tutorial exercises are provided on testing ODBC DSN settings; creating connection to a SQL Server through a DSN; executing SQL statements; looping through result set; Executing prepared statements.

comment save report
category icon

Hit Counter Script

in PHP added by Brandon, on 19/6/2007 beginner tutorials file hit counter

In this tutorial, you'll learn to create a very simple hit counter for your website.

comment save report
category icon

MagickWand for Beginners

in PHP added by AKnife, on 11/5/2007 beginner tutorials gd im image image manipulation imagemagick

The "MagickWand" interface to ImageMagick for PHP makes image manipulation as easy as it can get.

comment save report
category icon

Header already sent error

in PHP added by RajibKundu, on 28/4/2007 Header already sent error beginner tutorials url redirection

Learn how to avoid "Header already sent" error and some other common use of Header() function.

comment save report