PHP



PHP how to find Odd and Even numbers

Here is how to find odd and even numbers in php.

(23 votes, average: 4.83 out of 5)
04.19.09


PHP replace only first occurrence of a string match.

How to replace only the first occurrence of a string in php.

(18 votes, average: 5.00 out of 5)
04.12.09


PHP Leading Zero for Double Digit Numbers

How to output a number with leading zero like dates and time.

(10 votes, average: 2.20 out of 5)
04.12.09


PHP MySQL Order by Two Columns

Here’s how to order your data by two or more columns using PHP and MySQL

(12 votes, average: 3.67 out of 5)
04.12.09


Php Remove Non-Alphanumeric Characters

How to strip all symbols and numbers from a string of alphanumeric text. This php code will help you delete, remove, strip and erase any non-alphanumeric characters, and then return the data without the unwanted characters.

(36 votes, average: 4.47 out of 5)
12.27.06


Create MySQL Database With PHP

Create a dynamic web site by using MySQL Database and PHP. It is easy and I provided the code to cut and paste.

(1 votes, average: 3.00 out of 5)
12.25.06


PHP Lesson 3 – Creating Functions

How to create Functions in PHP and also how to Pass Variables to Functions.

(3 votes, average: 4.67 out of 5)
05.01.05


Portion() function for trimming text

Returns the portion of text specified by the start and length parameters. This help to trim text down for display in a small area or to give a sample of a larger body of text.

(No Ratings Yet)
02.22.05


PHP Order By Multiple Fields in MySQL

Want to be able to order by two or more database fields / columns using the ASC and DESC order clause

(16 votes, average: 4.13 out of 5)
07.16.04


PHP Search using WHERE, AND, LIKE, OR Query Functions

How to search multiple fields in a database

(8 votes, average: 3.63 out of 5)
07.16.04