PHP Lesson 1 – First PHP Script

If you are new to PHP, this is for you. Here you will learn how to create and run a PHP web page for the first time.
Continue Reading »

PHP Lesson 3 – Creating Functions

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

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

PHP Search Between Values in MySQL Database

Need to know how to filter a database search result between two values. Use the WHERE clause in SQL to provides conditions in your search.
Continue Reading »

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

Query Select From a Database

How to do a basic query from a MySQL database using PHP
Continue Reading »

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

How to search multiple fields in a database
Continue Reading »

PHP Round Off Decimal or Convert to Decimal Point

Round a number up or down or Round off a floating decimal point number using PHP’s functions round(). Or convert a digit to a decimal point. Greate for shopping carts or time sheet programs.
Continue Reading »

Polls and Comments with PHP and MySQL

Create a poll voting and comments system with the help of PHP and MySQL. Explains in details the script and database design.
Continue Reading »

PHP strip remove white space from end of string

Need to remove the white space at the end of a string before recording the data. Use PHP’s rtrim().
Continue Reading »

Page 3 of 41234