MySQL Forums
Forum List  »  PHP

Re: trying to insert values into my table for first time
Posted by: Peter Brawley
Date: March 19, 2021 02:41PM

> I don't know what type of error handling those lines need

For example execute() returns T or F, you need to track which.

One way:

When you can't figure out what's going wrong with your generated sql, have your script echo the sql it's generated, and play with it in the mysql client program.

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.