Distingushing between multiple buttons

A

Anonymous

Guest
I usually use a hiddden input field named something like id and have use javascript to define it with an onclick. i.e.

<input type="hidden" name="id"><input type="submit" onclick="id.value = <?php echo $line['id']; ?>" name="submit" value="submit">
 
Back
Top