Categories


Archives


Recent Posts


Categories


Never Gonna Give you Up

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

In the begining (or near enough to it), PHP had a set of functions for talking to MySQL databases — mysql_connect, mysql_query, mysql_.... While newer database APIs like the mysqli_ functions and PDO came along these older functions hung in there and remained hugely popular right up until the end. The end being their removal from PHP in version 7.2. There’s a lesson here about the value of being first and how hard it is to depreciated code.

There’s also a lesson in never letting go — this library is a drop in replacment for the old mysql_ functions. The developers have implemented the old mysql_ functions in terms of mysqli. You can drop this library into you old mysql_ project and continue to kick that 14 year old “refactor mysql_ calls” JIRA ticket down the road a bit further.

Copyright © Alan Storm 1975 – 2018 All Rights Reserved

Originally Posted: 16th July 2018