Selecting only 1 checkbox (Don't think I can use radio buttons)
<p>I have a bit of an issue I need help with.</p>

<p>I have a whole heap of images that need to be either "accepted" or "rejected"
So basically the page will have a heap of images with an accept and reject checkbox and then a save button at the bottom of the page. These images are actually GD generated images from a string pulled from a MySQL database. These images are generated and displayed using a while loop in PHP.</p>

<p>My issue is at the moment the checkboxes can both be selected at the same time and it doesnt make sense to be able to accept and reject at the same time. I understand radio buttons are for this however it isn't possible for me to have a form for every image and I have to be able to distinguish which accept/rejection was for each image in the next action page.</p>

<p>This is basically what I have but I can't be making a form over and over while im looping.</p>

<pre><code>echo "&lt;form name=\"selections\" action=\"processselections.php\" method=\"post\"&gt;";
echo "&lt;div&gt;";
echo "Accept: &lt;input type=\"checkbox\" name=\"accept\" value=\"accept" . $row[0] . " class=\"checkbox\"\"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Reject: &lt;input type=\"checkbox\" name=\"reject\" value=\"reject" . $row[0] . "\"&gt;";
echo "&lt;/div&gt;";
echo "&lt;/form&gt;";
</code></pre>
