MySQL Forums
Forum List  »  PHP

Re: MySQL Select
Posted by: Peter Brawley
Date: September 23, 2016 08:59AM

> I have tried but all in vain

Query and data retrieval calls need error handling code, you need the content of $mysqli->error.

And ti debug the query generation code, before execution add in a stub so you can see the syntax you are generating ...

echo $sql;

Options: ReplyQuote


Subject
Written By
Posted
September 23, 2016 12:51AM
Re: MySQL Select
September 23, 2016 08:59AM


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.