in reply to Writing to DB with quotes

The only problem is that SQL needs the string to be bounded by quotes as well, not just Perl.
$trend = '"<img src=' . "'images/down.jpg'>" . '"';

-M

Free your mind