MySQL Forums
Forum List  »  PHP

Re: SQL error on php page
Posted by: Peter Brawley
Date: March 15, 2018 07:33PM

You seem to have confused displaying errors with displaying SQL. Your code purporting to display the error generated by MySQL displays no errors, it just displays your SQL. You need to be canvassing the error info from PDO.

Options: ReplyQuote


Subject
Written By
Posted
March 14, 2018 12:22PM
March 14, 2018 03:39PM
March 15, 2018 05:40PM
Re: SQL error on php page
March 15, 2018 07:33PM
March 16, 2018 07:14PM
March 16, 2018 07:19PM
March 17, 2018 09:08AM
March 17, 2018 10:41AM
March 18, 2018 12:10PM
March 18, 2018 06:20PM
May 09, 2018 03:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.