Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Insert into table when user clicks one of many submit buttons

by tinita (Parson)
on Nov 28, 2011 at 11:30 UTC ( #940360=note: print w/ replies, xml ) Need Help??


in reply to Insert into table when user clicks one of many submit buttons

$row = $form{id}; my $insert=qq~ insert into cart (id,cat_num) select id,catalog_num fro +m tracks where id ='$row'~;
sql injection alert! please read http://bobby-tables.com/


Comment on Re: Insert into table when user clicks one of many submit buttons
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940360]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-12-21 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls