News and Blog

Generating a Unique ID Using PHP and MySQL

April 7th, 2010 - Posted by Steve Marks to MySQL, PHP.
A recent e-commerce project I was working on required me to generate a unique order reference number containing both letters and numbers for every new order placed. Generating a unique reference was easy, but what if the generated output already existed in the database? Wouldn’t be v...

Open jQuery Colorbox onLoad

April 7th, 2010 - Posted by Steve Marks to Javascript / jQuery, Web Development.
Update – 26th December 2010 (Credit to azrad) Since writing this post it seems that ColorBox has been updated meaning the solution below is now longer needed. Simply using the latest version of colorbox will allow you to open the ColorBox onLoad. I came across a scenario today where ...