MySQL Forums
Forum List  »  PHP

Re: ComboBox MySQL Php
Posted by: Peter Brawley
Date: September 09, 2015 04:07PM

Don't use the mysql API, it's deprecated, indeed removed from PHP version 7. Use the mysqli API.

Query calls need error handling, minimally ...

$result = mysqli_query( ... ) or exit( mysqli_error(...) );

In the posted code, <div>s and <body> & <html> are missing closing </div>, </body>, </html>.

Options: ReplyQuote


Subject
Written By
Posted
September 09, 2015 01:58PM
Re: ComboBox MySQL Php
September 09, 2015 04:07PM


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.