PHP Snippets
Alternating background color. This would be useful if you have large text into a table so it can easily be read.
Different date format you could use.
This will protect you from spam when displaying your email address on your website.
Uses PHP's md5() function to encrypt password.
Example of php's explode and implode function.
This simple snippet could be display below your website.
Check to see if a string reach a certain limit. Useful to avoid flood or other abuse.
Here's an easy example of mail() function.
Here's an easy example of MySQL database connection.
This will check your MySQL database for possible match, useful if you dont want two or more of same value on your database like an email address.
This will display a random row from specific MySQL database and table.
Display some useful information about your MySQL, databases and tables.
Display random image from specific directory.
This function will replace smiley text (":)",":D", etc...) with your smiley image.
This will search google with the specified keyword.