Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by GertMT (Hermit)
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 examining the Monastery: (4)
As of 2021-10-23 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?