Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

How to find out which record the user clicked?

  • Please log in to reply
1 reply to this topic

#1 reachpradeep


    CC Regular

  • Just Joined
  • PipPipPip
  • 41 posts

Posted 03 March 2007 - 09:55 AM

I have a PERL page in which I display data reterived from a MYSQL db
For each record I intend to provide an Update and a Delete link.
I intend to Modify or Delete a row based on users response.
How to find out which record the user clicked?
Is it possible to do that in Perl?

Please provide some solution...
  • 0

#2 KevinADC


    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 125 posts

Posted 03 March 2007 - 12:24 PM

sure its possble, but there is no canned solution. You read the databse stuff and load it into a CGI form where the user can select the record(s) of interest. That cold be done with radio buttons or checkboxes or drop down lists or anchor tags, or etc etc etc. Use the perl CGI module to parse the form data and update the database record(s) as needed.

CGI - perldoc.perl.org
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download