Useful MySQL/PHP FunctionsDealing with Errors When Working with MySQLNow that you know how to connect to, query, and work with databases, it’stime to discuss what to do when things go wrong, as they surely will. Any timean error occurs when PHP is interacting with the database (except when you areattempting to establish a connection to the database), you can find the lasterror by using the mysql_error() and mysql_errno() functions:mysql_error([$link]);mysql_errno([$link]);where the op
continue >>
Feb
09
Using MySQL from PHP, Part 2
Comments (0)
Mysql
Tags: