Jump to content

Recommended Posts

I need to create a form through which a user can input multiple records and submit them all at once. Ideally, it would be like when using a Microsoft Access form where you tab through the fields in a records and when you get to the end it automatically takes you to a new record. If that's not possible, I could create multiple text fields but there's no predicting how many records will need to be inserted each time.

 

Specifically, I run a dart route and we take stats at each dart tournament. So, I have a database with one table PLAYERS, another table STATS and another table TOURNEYS. Stats can be either Cricket or 01 (type C or O). If a player is out in two matches, they may only have 4 Cricket stats and 2 01 Stats. If they last until the finals, they could have 10 or more of each. I want to create a form where the user can input stats as follows:

 

Name, Tourney, C, 2.2

Name, Tourney, O, 35

Name, Tourney, O, 102

Name, Tourney, C, 1.9

Name, Tourney, C, 2.1

Name, Tourney, O, 56

then hit "submit" and all those records are updated in the one table.

 

I saw on the Dreamweaver Forum some instructions on how to do this in ASP, but being pretty new to this, some direction with the tools I'm using would be much more helpful.

 

Thanks, any help will be much appreciated.

Link to comment
https://forums.phpfreaks.com/topic/2056-inserting-multiple-records-at-once/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.