MySQL Forums
Forum List  »  PHP

Re: Update returned records with HTML form
Posted by: Peter Brawley
Date: September 29, 2020 01:40PM

> I would like to add data to the returned records
> on that webpage and submit the new data.


By "returned records" you mean $_POST[] array elements? You'll need to explain.

Or do you mean you want to add more elements to that array so as to update a row in some MySQL table? If so, populate an array from $_POST elements, then add the desired elements to the new array, form a MySQL Update command from that string, and send that query to MySQL.

Or if you mean you need more fields in the form add as desired.

If this doesn't help, you'll need to be more specific.

Options: ReplyQuote

Written By
Re: Update returned records with HTML form
September 29, 2020 01:40PM

Sorry, only registered users may post in this forum.

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.