This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.
Code example for Month Day Year Dropdown
An example to include another PHP file into a PHP script
Here shown an example how to Compress CSS with PHP
Example shows here how to compress CSS with PHP
Allows to perform PHP redirection (must be placed before any browser output).
You'll need a of copy Simple Pie for the include right at the top here.
Turn a string into a readable url
PHP example for connecting to MySQL
MySQL code example for sorting data in a GRID
Apache code example shows how to remove .php from URL
PHP code example for redirecting from old URL to new URL
You can use a url shortener with Twitter such as tinyurl.com
This is a very common PHP question of HOW TO remove last character from string in PHP. Find below some ways how to delete last character from string in PHP.
How to create mysql table using php. The php script as follows as:
PHP function example that writes a name when it is called.
This is your most basic version of an image CAPTCHA.
Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...
This php code for mail someone from your code
Example shown here how to convert a PHP array into a string