i have this in a loop and a form so the variable changes. i have the word printed next to the checkbox. On the page the form directs to, how do i get the $varibles that have been clicked on.

echo "<td align='left' width='110'>$topic<input type='checkbox' name='$topic' value='No' />
</td>


</tr></table></td>";

If you post your form and a topic is Test for example, then you can read $_POST

You may want to look at this thread for an easier option.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.