good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Using variables withing a mysql queryby psini (Deacon) |
on May 11, 2008 at 19:43 UTC ( [id://685979]=note: print w/replies, xml ) | Need Help?? |
This should be equivalent to double quotes. What do you get from a print $data; after your statement above? If you get exactly the query (SELECT id, name, location FROM book WHERE 1 ORDER BY id DESC) and it doesn't work as expected, perhaps you should post more of the surrounding code...
In Section
Seekers of Perl Wisdom
|
|