MySQL Forums
Forum List  »  PHP

Re: Trying to create table and insert data, errors for everything after connection (PHP)
Posted by: Peter Brawley
Date: October 28, 2017 02:41PM

> in each of the else's I have a message written for it not working, and those have been printing

?! Indeed, so what are they?

As written, the script will once create a database named dbmpname (odd name for a db); on subsequent runs, it will give you an already-exists error.

After that, error messages should alert you to your failure to USE the db you have created.

Options: ReplyQuote

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.