In your HTML each one of those select fields needs a unique name.. they
can't all be called D1.  No wonder you're having trouble.  After that you
can print_r($_POST) to see what you're getting back from the form and adjust
your script to match.  Good luck.
-Kevin

----- Original Message -----
From: "Martin Kampherbeek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 24, 2002 3:23 PM
Subject: [PHP] Insert with one button


Hello,

I'm making a predictions competitie for soccer.
Now I've got a form with the matches for that weekend and some selectboxes
with 1 to 9 for the goals. At the bottum of the form is a Submit button.
What I want is to insert all the scores in my table predictions with just
that one button.

Table predictions:
id
date
homeclub
awayclub
endhome
endways
halftimehome
halftimeaway

So why knows how to insert all the scores for all the selected matches in my
table predictions with just that one button?
Example what I mean (don't look at the error):
http://www.martinkampherbeek.com/voorspelling/voorspelling.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to