Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Avoid embedding variables in SQL - Dancer App

by GertMT (Friar)
on Sep 05, 2014 at 16:14 UTC ( #1099703=note: print w/replies, xml ) Need Help??


in reply to Re: Avoid embedding variables in SQL - Dancer App
in thread Avoid embedding variables in SQL - Dancer App

Thanks for your comments

Reading about this I hope not to be wrong in my conclusion that

---- WHERE products.fk_cat = categories.id_cat AND products.fk_col = collections.id_col AND collections.link_col = ? SQL my $sth = database->prepare($sql); #print Dumper $link; # is okay $sth->execute( $link ); ----
Should be okay.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2021-09-16 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?