in reply to Re: single error with a dbh prepare
in thread single error with a dbh prepare

does mysql accept dblquotes for stats="2" or does it have to be single stats='2' ? Might as well bind that anyways w/ stats = ? and $sth->execute(2, param('name')) so there's no quoting at all..

Replies are listed 'Best First'.
Re^3: single error with a dbh prepare
by Happy-the-monk (Canon) on May 18, 2006 at 12:13 UTC

    does mysql accept dblquotes for stats="2" or does it have to be single stats='2'?

    Yes, it accepts both.

    Oh, btw, just go to http://www.mysql.com/ and download any stable version and try it out, works on most platforms, is free of charge (in that circumstance) and easy to install (5-10 minutes) and get up to speed.

    Cheers, Sören