Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: button in a table?

by hiseldl (Priest)
on Apr 11, 2003 at 17:06 UTC ( #249930=note: print w/replies, xml ) Need Help??


in reply to button in a table?

You could create a link as a row number as your first column.

while (@row = ...) { # include the rownum as part of the link print Tr( td( [a({-href=>"XXX".++$rownum}, "$rownum"), @row] ) + ); # Or, just the rownum with a different link #print Tr( td( [a({-href=>"XXX"}, ++$rownum), @row] ) ); }

Update: you could replace XXX with the URL of your cgi script and add a rownum param via GET. I.e. ... [a({-href=>"http://localhost/script_to_read_rownum.cgi?rownum=".++$rownum}, $rownum), ...]

HTH

--
hiseldl
What time is it? It's Camel Time!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249930]
help
Chatterbox?
[karlgoethebier]: Discipulus: Mmh, who disappeared?
[marto]: morning all
[shmem]: perl -lE '$_="odd mornin";($o=$_)=~ s/^|$/g/g;say$o'
[Eily]: Hi monks o/
[choroba]: 3 PM in Vietnam, BTW
Discipulus maybe a wrong impression..
[karlgoethebier]: Discipulus: Workshops are for weenies ;-)
[Discipulus]: here 43C high umidity, tiger mosquitos, violence in the street.. everywhere is vietnam
[karlgoethebier]: OK, i'm socially unacceptable
[karlgoethebier]: Discipulus: Were the hell are you today?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-06-27 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (600 votes). Check out past polls.