I'm sorry I wasn't clear enough in my original post. The code I'm using looks something like this:
<?php while($db->next_record()): $count++; ?>
<tr>
<td><input type="radio" name="coursekey" value="<?php printl(htmlspecialchars(stripslashes($db->f("key")))); ?>"></td>
<td><?php print(htmlspecialchars(stripslashes($db->f("name")))); ?> </td>
<td><?php print(htmlspecialchars(stripslashes($db->f("id")))); ?> </td>
<td><?php printl(htmlspecialchars(stripslashes($db->f("section")))); ?> </td>
</tr>
<?php endwhile; ?>
So, the radio button has a value after one is chosen. I then have two buttons, edit and delete. I send $count to a javascript to ensure a choice was made. I am also able to send the script the $sess->purl("url").$sess->padd_query(array("action" => "edit or delete")) where I check for a choice and append the value of the radio button selected to the url. Then I just set the document.location to that page. But this is all done in javascript!
Is it possible for me to emulate this in php, just in case I get a client that doesn't have javascript? I just can't figure out how to set the action to match a given button.
Sorry again for not being clear enough.