MySQL Forums
Forum List  »  PHP

Re: Can't display MYSQL data
Posted by: Jonathan Stephens
Date: November 20, 2015 11:32AM

An insert does not return a result set, so you shouldn't expect mysqli_query() to return one when used to perform an insert. "Returns FALSE on failure. For successful SELECT, SHOW, DESCRIBE or EXPLAIN queries mysqli_query() will return a mysqli_result object. For other successful queries mysqli_query() will return TRUE."

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
November 20, 2015 07:36AM
Re: Can't display MYSQL data
November 20, 2015 11:32AM


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.