List:General Discussion« Previous MessageNext Message »
From:Jay J Date:September 16 1999 6:14am
Subject:Re: update and $dbh->quote
View as plain text  
----- Original Message -----
From: <jice@stripped>
To: <mysql@stripped>
Sent: Wednesday, September 15, 1999 11:35 PM
Subject: update and $dbh->quote


>
> hi,
>   i'm trying to do this with DBD::mysql:
>
> $quo_mesg = $dbh->quote($message) or &error;
> $dbh->do("update email set $column = '$quo_mesg'
>           where username = '$recipiant'");
>
>
> and  DBI::errstr is giving me an error i don't
> understand.  Is it okay to use quote with and update statment?

Which "error I don't understand" would that be?

Sure it's okay .. AMOF in that snippit, DBI::quote has nothing to do with
the update.

-Jay J




Thread
Sum/group by/having error in 3.23.3web16 Sep
  • update and $dbh->quotejice16 Sep
    • Re: update and $dbh->quoteJay J16 Sep
      • Re: update and $dbh->quoteJesse16 Sep
        • Re: update and $dbh->quotejice16 Sep
          • Re: update and $dbh->quoteChris16 Sep
            • Re: update and $dbh->quotejice16 Sep
              • Re: update and $dbh->quoteChris16 Sep
                • Re: update and $dbh->quotejice16 Sep
    • Re: update and $dbh->quoteJay J16 Sep
      • Re: update and $dbh->quotejice16 Sep
  • Sum/group by/having error in 3.23.3Michael Widenius18 Sep