while ($result = mysql_fetch_array($dbresult_riderlist)) {
print('<tr>' . "\n");
print("<td><input type=\"hidden\" name=\"rider_id[]\" value=\"" .
$result["rider_id"] . '" />' . "\n");
print("<input type=\"text\" name=\"rider_name[]\" value=\"" .
$result["rider_name"] . '" size="15" /></td>' . "\n");
print("<td><input type=\"text\" name=\"rider_license_cat[]\" value=\"" .
$result["rider_license_cat"] . '" size="3" /></td>' . "\n");
print("<td><input type=\"text\" name=\"comments[]\" value=\"" .
$result["comments"] . '" size="20" /></td>' . "\n");
print("<td><input  type=\"file\" name=\"image[]\" value=\"" .
$result["image"] . '" size="10" /></td>' . "\n");
print("<td>Edit: <input type=\"radio\" name=\"edit_rider_action[]\"
value=\"edit\" /> Delete: <input type=\"radio\"
name=\"edit_rider_action[]\" value=\"delete\" /></td>" . "\n");
print('</tr>' . "\n");

I'm trying to gather the data from this form and test the condition of
the radio button 'edit_rider_action'.

I can traverse the form data array via $_POST and get the key/value
pairs but am not sure how to test the 'edit_rider_action'.

-- 
Brian V Bonini <[EMAIL PROTECTED]>

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

Reply via email to