MySQL Forums
Forum List  »  PHP

Re: INSERTING RECORDS INTO MULTIPLE TABLES
Posted by: Peter Brawley
Date: September 06, 2022 01:23PM

After the last insert call, run ...

if( !$con->query($sql) ) {
  $pcatError = $con->error;
  echo "sql=$sql<br>err=$pcatError";;
}

... then let's see what that produces, also let's see the Show Create Table result for that table.

Options: ReplyQuote


Subject
Written By
Posted
Re: INSERTING RECORDS INTO MULTIPLE TABLES
September 06, 2022 01:23PM


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.