MySQL Forums
Forum List  »  PHP

Re: PDO::query
Posted by: Peter Brawley
Date: October 06, 2018 02:01PM

Usual debugging ... check all var names, the query, the result of $conn->num_rows() &c. I think you named the result var $result not $res.If the script starts with ...

$debug=1;
ini_set( "display_errors", $debug );

... then such errors will be flagged for you.

Options: ReplyQuote


Subject
Written By
Posted
October 05, 2018 10:16AM
October 05, 2018 11:59AM
October 06, 2018 02:24AM
October 06, 2018 08:49AM
October 06, 2018 12:27PM
Re: PDO::query
October 06, 2018 02:01PM


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.