Hi Guys
I have a form that lists info from a db ie.
print '
<form method="POST" action="go.php">
Item 1 <input type="text" name="item[]">
Item 2 <input type="text" name="item[]">
Item 3 <input type="text" name="item[]">
<input type="submit" name="submit" value="submit">
</form>
';
Now i want to take the values entered into the input boxes and put them into a database table from the array I created.
I know that I have to do something like ...
for($item[] blah blah blah ....){
$query ="insert into table...";
}
What is the code that I would need to call up the values of the array and then add each array item to the DB.
Thanks a mill.