List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:April 29 2002 3:04pm
Subject:Re: mysql_real_query and escaping a semicolon
View as plain text  
At 8:37 -0600 4/29/02, Anna Fowles-Winkler wrote:
>Gerald Clark wrote:
>
>>  The semicolon does not belong there.
>
>Where?  At the end of the query or in the string?
>
>--Anna

At the end.  Semicolons are perfectly legal in data values (which is
why this whole episode seems odd), but you don't put them at the
end of a statement.  That's a convention used by the mysql client
that you don't follow when using an API directly.

Thread
mysql_real_query and escaping a semicolonAnna Fowles-Winkler26 Apr
  • Re: mysql_real_query and escaping a semicolonPaul DuBois26 Apr
  • Re: mysql_real_query and escaping a semicolonAnna Fowles-Winkler26 Apr
    • Re: mysql_real_query and escaping a semicolonPaul DuBois26 Apr
  • Re: mysql_real_query and escaping a semicolonAnna Fowles-Winkler26 Apr
    • Re: mysql_real_query and escaping a semicolonPaul DuBois26 Apr
  • Re: mysql_real_query and escaping a semicolonAnna Fowles-Winkler26 Apr
  • Re: mysql_real_query and escaping a semicolonAnna Fowles-Winkler26 Apr
  • Re: mysql_real_query and escaping a semicolonGerald Clark29 Apr
  • Re: mysql_real_query and escaping a semicolonAnna Fowles-Winkler29 Apr
    • Re: mysql_real_query and escaping a semicolonPaul DuBois29 Apr
  • Re: mysql_real_query and escaping a semicolonAnna Fowles-Winkler29 Apr
    • Re: mysql_real_query and escaping a semicolonMichael Widenius30 Apr