migrating to the pdo mysql driver
Is that the mysqli vs. mysql thing?
Do you have problems, concerns, or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
migrating to the pdo mysql driver
Is that the mysqli vs. mysql thing?
Sort of. There are three PHP mysql drivers. The old mysqld which was removed from PHP 7.0. Mysqli and the PDO Mysql. The PDO driver is pretty much the standard one nowadays.
Got it. I thought this article explains well the work involved.
Yep. That's what I've started doing. I'm also moving all the database interaction into a set of database access objects so it won't be mixed in with the rest of the code.
Yeah, good choice, even if we hadn't needed to update drivers.
I'm also moving all the database interaction into a set of database access objects so it won't be mixed in with the rest of the code.
Good move. I imagine that'll make bootstrapifying the pages a bit easier.
There's also some weird stuff going on where tables are being created. I think that can be eliminated with some better indexing.
If I can be helpful in beta testing or the like, please let me know.
Sometimes I think I know some things about computers, and then I read a page like this.
If I can be helpful in beta testing or the like, please let me know.
Will do. That will be very helpful when the time comes.
I've extracted all the SQL statements. Now I need to implement the data access code using prepared statements.