Shorten a string and add an ellipsis (…) to the end of it with this simple PHP function.
Tag: Functions
Clean a PHP array
January 1, 2012
PHP Functions
Remove empty and duplicate entries from an array with this php array cleaner.
Ordinal numbers – PHP function
January 1, 2012
PHP Functions
Generate and return an ordinal number with this PHP function. Example, ‘1st’, ‘2nd’, ‘3rd’, etc.
Dividing Results – Page Numbers – PHP & MySQL
June 15, 2011
PHP Functions
Divide up database results onto separate pages with this PHP and MySQL tutorial.
Generate a random password – PHP function
June 1, 2011
PHP Functions
This PHP function allows you to generate a totally random password at the character length of your choice.

