2 questions:
1) What command do I use, to commit new data, entered into an online form, to the database?
i.e. If the PHP code, is located inside of the HTML form document, how do I keep the PHP code from executing, until after the form has been completed, and a button of some type is pressed? (Like a submit button)... Or do I NEED to put the PHP insert commands, inside of an externally called script?
2) In the on-line PHP documentation, it lists a whole bunch of MySQL commands, but all apparently are for querying the database... I do not see any that would allow for inserting of data into a database from the web-based front-end... Are there any specific PHP / MySQL commands, that would insert or update data in the database?
TIA
Joe
1) What command do I use, to commit new data, entered into an online form, to the database?
i.e. If the PHP code, is located inside of the HTML form document, how do I keep the PHP code from executing, until after the form has been completed, and a button of some type is pressed? (Like a submit button)... Or do I NEED to put the PHP insert commands, inside of an externally called script?
2) In the on-line PHP documentation, it lists a whole bunch of MySQL commands, but all apparently are for querying the database... I do not see any that would allow for inserting of data into a database from the web-based front-end... Are there any specific PHP / MySQL commands, that would insert or update data in the database?
TIA
Joe