Hello,
I am new to php, javascript and mysql. Just started 3 days ago. I have a form with some textboxes and listboxes. But now I need to save everything in a database using a INSERT query. Can anybody help me plz?
Greetings Stijn
Hello,
I am new to php, javascript and mysql. Just started 3 days ago. I have a form with some textboxes and listboxes. But now I need to save everything in a database using a INSERT query. Can anybody help me plz?
Greetings Stijn
There are various tutorials out there on the net.
Here's your checklist of things you now have to do:
Big Areas to Focus:
1) Make your form. Use standard HTML input elements and use the "name" attribute.
2) Focus the Form "action" and "method".
3) Grab the variables out of the POST or GET array ($_POST['input_name'] or
$_GET['input_name']).
4) Use a SQL insert statement to insert the form values into the particular table you want the data stored.
This should help you with an insert http://www.tizag.com/mysqlTutorial/mysqlinsert.php
This will help with the Form aspect. http://www.w3schools.com/php/php_forms.asp
Good Luck!