Distingushing between multiple buttons

Codes here !

Moderators: macek, egami, gesf

Post Reply
User avatar
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Post by Redcircle » Tue Mar 18, 2003 9:56 am

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">

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests