“10 extremely useful PHP code snippets”
In order to be efficient, a web developer should have a toolbox with code snippets he can use and reuse when needed. In this article, Jean-Baptiste Jung is going to show you 10 extremely useful PHP code snippets to add to your web developer toolbox.
- Highlight specific words in a phrase
- Get your average Feedburner subscribers
- Automatic password creation
- Compress multiple CSS files
- Get short URLs from Twitter
- Calculate age using date of birth
- Calculate execution time
- Maintenance mode with PHP
- Prevent js and css files from being cashed
- Add (th, nd, rd, th) to the end of a number
Lubov has been with DMXzone for almost 5 years now, contributing to both Marketing and Content departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. 





