MySQL Forums
Forum List  »  PHP

Re: Data not being entered into database
Posted by: Gordon White
Date: March 14, 2016 06:50AM

OK, got it.

I had typo in the config.php file. should have been "$conn" was "$comn", fixed.

Also included your suggestion of ;
$res = mysqli_query( $conn, $qry ) or exit( mysqli_error($conn) );

All inserting fine.

THANK YOU very much for your help.

Gordon

Options: ReplyQuote


Subject
Written By
Posted
Re: Data not being entered into database
March 14, 2016 06:50AM


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.