Skip to menu

Skip to content



All PHP & MySql Articles

Performing searches on strings using strpos

Performing searches on strings using strpos

Wednesday, December 17th, 2008 at 4:37pm, in String Manipulation, written by Stefan Ashwell

There are occasions where you might want to search for a phrase within a string in PHP. Using the PHP function strpos we can do just this nice and easily.

View the full article

PHP form validation basics

PHP form validation basics

Monday, December 15th, 2008 at 5:00am, in Form Handling, written by Stefan Ashwell

This is the start of a couple of articles about form validation, the different kinds and how to validate different types of information. In this first article I am just going to cover the basics to start off with - checking for entry.

View the full article

Using a global configuration file

Using a global configuration file

Friday, December 5th, 2008 at 3:29am, in Misc, written by Stefan Ashwell

It's one of the basics of PHP and if you read any kind of tutorial or book on the subject it's one of the first things they cover, yet I still see people no using a global 'configuration' or 'include' file. It's one of the easiest things to do and will make your life so much easier!

View the full article

Creating a text or csv file of information from your database

Creating a text or csv file of information from your database

Thursday, December 4th, 2008 at 9:50am, in File Management, written by Stefan Ashwell

There are some occasions where you would want to export your site's information in CSV or similar text format. You might want to do this so you can view reports in a spreadsheet, or you might want an export of your product information to upload to a service like Google Products. Either way the method and end result are essentially the same.

View the full article

Using an autoload function to make your life easier

Using an autoload function to make your life easier

Wednesday, October 1st, 2008 at 2:16pm, in Misc, written by Stefan Ashwell

In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.

View the full article

« Previous

1 2 3

...

4 Next »

18 Articles on 4 pages


Subscribe to our RSS Feed

Subscribe: RSS | Email

Clear Content - Easy to use PHP 5 Content Management System
CSS Contest

Recommended resources

Recent articles