Help on turning this from mysql to mysqli or pdo

No! The code as-is, in other words as it was before we starting this thread is okay as far as the HTML goes.
The inputs are okay, the reading of the data is okay.

To update from MySQL to MySQLi, you only have to change ALL of the lines that contain MySQL functions.
This means any place in the entire site where you find something like “myslq_” which will need to be changed
to the newer “improved” versions.

We started off on this subject and somehow moved on to altering the inputs and such. Not really sure how we
got here… Updating to the improved version of MySQLi, you would mostly need to just redo the connection
to the database and then add the connection pointer to all of the other functions. Not a hard upgrade process.

Off to bed, will check in on you in the AM…

Sponsor our Newsletter | Privacy Policy | Terms of Service