Re: [PHP] need form array help

2004-03-01 Thread Kelly Hallman
On 1 Mar 2004, Brian V Bonini wrote: > while ($result = mysql_fetch_array($dbresult_riderlist)) { > print('' . "\n"); > print(" $result["rider_id"] . '" />' . "\n"); > print(" $result["rider_name"] . '" size="15" />' . "\n"); > print(" $result["rider_license_cat"] . '" size="3" />' . "\n"); > print

RE: [PHP] need form array help

2004-03-01 Thread Brian V Bonini
On Mon, 2004-03-01 at 15:03, Chris W. Parker wrote: > in that case i think php turns form elements with [] on the end of them > into regular arrays. example: > >$edit_rider_action = $_GET['edit_rider_action']; > ?> > > you then access it just like any other array: > >foreach($ed

RE: [PHP] need form array help

2004-03-01 Thread Chris W. Parker
Brian V Bonini on Monday, March 01, 2004 11:45 AM said: > That make sense except the rendered form is to the effect of: [snip] ok i see... so you want to account for the possibility that each rider might have a different state? said differently, you don't want all

RE: [PHP] need form array help

2004-03-01 Thread Brian V Bonini
On Mon, 2004-03-01 at 14:14, Chris W. Parker wrote: > > Edit: /> >Delete: /> > > should be changed into: > > Edit: >Delete: /> > > after the form is submitted you can get to the value of > edit_rider_action with: ( > > > $edit_rider_action = $_GET['edit_rider_action'];

RE: [PHP] need form array help

2004-03-01 Thread Chris W. Parker
Chris W. Parker <> on Monday, March 01, 2004 11:14 AM said: > i think i see some code in that jungle. allow me to clean it up a bit! > > while ($result = mysql_fetch_array($dbresult_riderlist)) { > echo << > > value="{$result['rider_id']}" /> > value="{$result['rider_name']

RE: [PHP] need form array help

2004-03-01 Thread Chris W. Parker
Brian V Bonini on Monday, March 01, 2004 11:00 AM said: > while ($result = mysql_fetch_array($dbresult_riderlist)) { > print('' . "\n"); > print(" $result["rider_id"] . '" />' . "\n"); > print(" $result["rider_name"] . '" size="15" />' . "\n"); > print(" value=\"" .

[PHP] need form array help

2004-03-01 Thread Brian V Bonini
while ($result = mysql_fetch_array($dbresult_riderlist)) { print('' . "\n"); print("' . "\n"); print("' . "\n"); print("' . "\n"); print("' . "\n"); print("' . "\n"); print("Edit: Delete: " . "\n"); print('' . "\n"); I'm trying to gather the data from this form and test the condition of the radio