Distingushing between multiple buttons

Codes here !

Moderators: macek, egami, gesf

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

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: Bing [Bot] and 4 guests