On Sat, 12 Mar 2005 09:37:17 -0800 (PST), James Keeline <[EMAIL PROTECTED]> wrote:
> You need to give PHP a hint that the form variable should be stored in an > array. One way to do this is by adjusting your name somewhat: > > Answer 1 <INPUT TYPE=TEXT NAME='ANSWERS[]'><BR> > Yep, thanks - I found the answer 5-10 minutes ago - guess the message hasnt got to you yet.. > When PHP receives the form data, it will automatically number the index values > as they are received. If you need to have more control over the index keys > used you can number them in your HTML: No, - The [] is fine - I dont need too much control, as long as there is an answer :) >I didn't see much application for a text box but it could be achieved fairly easily. < Yes it can - I just needed to figure out how... > I'm guessing that you are making some kind of quiz creation system. After > all, most multiple choice quizzes would use radio buttons or checkboxes to > accept answers for ease of grading. < Yes - it is a quiz type thing - Although this part of the script is the creation of the questions (I havnt got to the answers part yet..) However im doing the answers part via email - Not online... - So wont need any more help (I think..) - Ive done (on other scripts) all I need - to build this script... - Thanks... (off to check if my previous reply was actually sent - Then to bed.) I'll be back later - to finish up the script (hopefully finish before i go to bed tomorow) (do I chat too much ? & whats up with all these brackets ?) -- G Stewart Gmail invites - Hundreds available.. Gmail : [EMAIL PROTECTED] NZ: [EMAIL PROTECTED] Community email addresses: Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
