Hey,
I'm having ago at using MySQLi and doing a little CMS for a project, and I have a question, I have my MySQL server on strict so sometimes I need to see an error, what is the way to do this whilst doing a query?
Example, with mysql you can just use 'or die(mysql_error());'.
- Thanks.
(I'm a noob at OOP and MySQLI, ).
I'm having ago at using MySQLi and doing a little CMS for a project, and I have a question, I have my MySQL server on strict so sometimes I need to see an error, what is the way to do this whilst doing a query?
Example, with mysql you can just use 'or die(mysql_error());'.
- Thanks.
(I'm a noob at OOP and MySQLI, ).