Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by GertMT (Hermit)
on Sep 05, 2014 at 16:14 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-03-28 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found