5 ms·
While reading this, I kept having flashbacks to PHP code written by lazy developers that didn't take the time to learn either PHP or MySQL very well. They would
by rbranson 16y ago
While reading this, I kept having flashbacks to PHP code written by lazy developers that didn't take the time to learn either PHP or MySQL very well. They would do things like use MySQL to format dates (paraphase: mysql_query("SELECT FORMAT_DATE(" . $date . ")")), because that's just what they remembered, and didn't want to take the time to find the right PHP function. Of course, there's always the opposite side of the same coin, like where they'd use loops of PHP code, executing hundreds or thousands of SELECT statements, instead of just learning how to use a JOIN.
EDIT: Just to be clear, I'm not implying that the author produces this kind of code.
- thehodge 16y agoIt's not THAT bad, I'd say two or three steps up from that ;)