Back to Top
The nuts and bolts for
Creative web development

10 life-saving PHP snippets

“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
Read the full article

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 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. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Share this Article