PHP replace only first occurrence of a string match.

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

Continue Reading »

PHP Leading Zero for Double Digit Numbers

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

PHP MySQL Order by Two Columns

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

PHP Validation Numbers Only From

How to check for number values only and block or convert letter strings to integers.
Continue Reading »

Register_Globals workaround for config on or off

how to turn Register_Globals on or off from the config file.
Continue Reading »

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. Continue Reading »

MySQL Table Fields Data Types

Learn MySQL data types like Numeric Types, Date and Time Types and String Types for building dynamic web sites.
Continue Reading »

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. Continue Reading »

PHPRunner

PHPRunner builds visually appealing web interface for any local or remote MySQL database. Your web site visitors will be able to easily search, add, edit, delete and export data in MySQL database. Advanced security options allow to build password-protecte
Continue Reading »

PHP Lesson 2 – Add Comments

You will save a lot of time and money if you just remember to write comments as you write your codes. Trust me, you will forget which code goes where and what it does. We all forget. This is a how-to on how to organize your scripts with different types of
Continue Reading »

Page 2 of 41234