This section contains tutorials written by members of this site and links to tutorials of external sites. To add a new tutorial login and press the "Add New Article" button. Can't find your tutorial? Feel free to place a request.
594 Users read it.

10 life-saving PHP snippets
by Lubov Cholakova (July 28, 2010)

10 life-saving PHP snippets

In order to be efficient, a web developer should have a toolbox with code snippets he can use and reuse when needed. In this article, Jean-Baptiste Jung is going to show you 10 extremely useful PHP code snippets to add to your web developer toolbox.

Read more
2520 Users read it.

Update multiple rows in MySQL with checkboxes
by student101 (May 12, 2010)

Update multiple rows in MySQL with checkboxes

A useful method to select all checkboxes and the ability to update MySQL records with PHP.

First we create a MySQL database, next we create the update page with the checkboxes and add the PHP code to make the update possible.

Simple, easy and fast...
Enjoy!

Read more
1194 Users read it.

How to Create a PHP Website Template from Scratch
by Lubov Cholakova (April 14, 2010)

How to Create a PHP Website Template from Scratch

This is a tutorial on creating a PHP website template starting with HTML and CSS. We will start with the basics and you can also download the final product. Please remember that I am using very basic CSS styling in this example just for you to get the idea, and not so much to make it look pretty. The download will contain both the styled example as well as a complete blank template that you can use for your own starting point for any project personal or commercial. The demo files are released under GPL V2.

Read more
7525 Users read it.

Smart Mailer PHP Manual
by Lubov Cholakova (March 31, 2010)

Smart Mailer PHP Manual

You can offer your clients the ability to send HTML mails based on a template (either on your machine or at a URL), each personalised with the recipient's name. You can add attachments to everyone, or a group of people, there's progress bars while you're sending them - all this in an external PHP include file, so just a couple of lines on your page.

These tutorials show you how to use the Smart Mailer PHP extension.

 

Read more
2064 Users read it.

Display records in multi column format with PHP
by Sebastian Sulinski (November 19, 2009)

Display records in multi column format with PHP


This two videos explain how to populate records from the MySQL database and display them on the page in the multi column format. Each column follows the ascending order of the records from the previous column. In this example we are using Table, but you can use any HTML element to display records in multi column format.

Read more
5145 Users read it.

Universal Form Validator PHP Manual
by Tania Antonova (September 2, 2009)

Universal Form Validator PHP Manual

Add Swiss Knife Form Validation to your forms in Dreamweaver with the Universal Form Validator PHP! Choose from many predefined validation rules like url, e-mail, dates, credit cards and ranges, apply conditional validation and even Ajax style inline validation! The validation errors and hints can be displayed in great tooltips and input masking can be applied. All fully customizable to your layout and needs! The user input is validated both client as well as server side - so there is no escape!

Read more
5466 Users read it.

Upload, Resize and Insert with PHP
by student101 (March 13, 2009)

Upload, Resize and Insert with PHP

This code is so amazing, you can create resized images of the original image.
Now you can create two from one using PHP, classic!

Have you ever wanted to upload, resize and insert images into a database without the hassle? This code will do it for you.

A few things are needed;

A database or not (Just comment out the database parts with //)
Create a page called upload.php.
Copy and paste the code.
Set up the Username, Password and Database settings if needed.
That's it.

Enjoy!

Read more
13072 Users read it.

PHP download link
by Sebastian Sulinski (May 12, 2008)

PHP download link In this tutorial I will show you how to create a link to a file with the prompt for a download.
Read more
6666 Users read it.

Upload files with PHP
by Sebastian Sulinski (March 3, 2008)

Upload files with PHP

This tutorial explains how to create the upload form with PHP.
It covers uploading and renaming file, limiting file size, restricting file types and form validation.

Read more
27386 Users read it.

PHP url parameter and page include
by Sebastian Sulinski (December 28, 2007)

PHP url parameter and page include

I´ve been asked several times how to solve this problem.
Let´s say you have folder which stores files with the content of the pages.
You also have an index.php page from which you send requests via url to display a relevant page.

This tutorial explains one of the approaches this can be done.
Read more
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency