PHP Tutorials
Latest Articles
How do you insert a Date into MySQL? ...Dates
Learn the different date/time formats that MySQL accepts
How do I insert a date and/or time into a MySQL table? ...MySQL
Learn the different date/time formats that MySQL
How do I display a field value once? ...MySQL
Learn how to use SQL with PHP to format your results on screen
All Articles
Arrays
Adding Elements to an Array
Learn the different techniques of adding elements to an array, and see how they can
be used in PHP scripts
Adding Elements to an array with a keyed index
Learn how to add elements to an array that have a key index, or
where you need to specify one.
Accessing the elements of an Array
This article shows examples of how-to access individual elements of an
array.
Sorting an Array
This article demonstrates techniques on how to sort the contents of an array, both with the
keys and their values.
Creating an Array with the range function
The range function is ideal for creating an array with sequential
element values
Dates
How can I compare dates to see which one occurs first?
Learn different techniques for comparing dates in php
How do you display the date and format it?
Learn how to use the php date function and the format flags
How do I find what day a particular date falls on?
Learn how to use the format flags of the date function
How do you calculate the difference between two dates?
Learn a few techniques in date arithmetic to find the
elapsed time between two dates.
How do I add a specified number of days to a date?
Learn a few techniques in date arithmetic to add a time
How do you insert a Date into MySQL?
Learn the different date/time formats that MySQL accepts
Forms
Process the information from a form
Learn how to process the information from a form. Includes textboxes,
checkboxes, radio buttons and listboxes.
How do I make a form sticky?
Learn how to make a form sticky, so that if a form can not be processed, the
correct information that has been entered remains and error symbols appear with elements that need attention.
Display error messages for a form element
How do I put an error message next to a form element if the field
was incorrectly filled in (or not filled in)?
Functions
What is the syntax for creating and calling functions?
This article demonstrates techniques of defining and
calling functions. It also looks at function arguments, default arguments, return values etc...
Determine if a function, method or class exists
How can I check to see if a function, method or class exists
before I call it?
MySQL
How do you display the contents of a table on the browser?
Learn how to connect to a database, write and
execute a query and display the results on the browser
How do I limit the number of records displayed?
Learn about the LIMIT clause and begin the steps towards
pagnating results (query results over several pages).
How do I display a field value once?
Learn how to use SQL with PHP to format your results on screen
How do I insert a date and/or time into a MySQL table?
Learn the different date/time formats that MySQL
Copyright
Let notice be given that this is copyright information