How do I check if a MySQL query is successful other than using die()
die()
I\'m trying to achieve...
mysql_query($query); if(success){ //move
if using MySQLi bind_param try to put this line above the query
MySQLi
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);