Just another Perl shrine | |
PerlMonks |
Re: Using variables withing a mysql queryby psini (Deacon) |
on May 11, 2008 at 16:31 UTC ( [id://685960]=note: print w/replies, xml ) | Need Help?? |
If the string is enclosed in double quotes the embedded variable should be replaced whit its value. Did you try a test print of the entire query before submitting it to the DBMS? BTW, I hope you are aware that generated queries are a potential security issue (risks from SQL injection) and should be used with care
In Section
Seekers of Perl Wisdom
|
|