in reply to button in a table?

You'll want to create a form. Take a look at the following code:
print qq{<FORM ACTION="esias.pl?mode=renamegroup&specific=$gid">}; print qq{<input maxLength=256 size=55 name=target value="">\n}; print qq{<input type=submit name=submitter value="Do it">\n}; print qq{</FORM><BR>\n};
This is from an application I wrote that browses complex stuff from database. The field box is probably unnecessary (but I left it in as a good example for if you later decide to do that kinda thing). The submit button code is going to be the most useful for you.

Note that there might also be ways to do this in javascript that won't require an actual button to be present, but I don't know how to do that.

Update: To make the values easily retrievable, replace the "Do it" value for target above with some sort of rowid, and then you can query based on that value.

Replies are listed 'Best First'.
•Re: Re: button in a table?
by merlyn (Sage) on Apr 11, 2003 at 18:01 UTC