MySQL Forums
Forum List  »  PHP

Re: one to many PHP app - Query problems
Posted by: Peter Brawley
Date: March 11, 2021 01:49PM

No, having captured the user.id value, you just need to store it into a PHP variable, for example if it's in a GET then ...

$userid = GET['id']

... then use $userid as you would any other value in the value list you bind to the Insert statement.

Options: ReplyQuote


Subject
Written By
Posted
Re: one to many PHP app - Query problems
March 11, 2021 01:49PM


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.