On Wed, Oct 08, 2008 at 01:33:13PM -0700, Lan Mind wrote:
>
> Hello again,
>
> "Quote your data.
>
> If your database allows it (MySQL does), put single quotes around all
> values in your SQL statements, regardless of the data type."
> ...
>
> My server runs MySQL 5, do you know why I can't do this? Here are the MySQL
> statements followed by my page link:
It's not a MySQL issue but the way PHP works. Have a look at
http://www.php.net/manual/en/language.types.string.php
I don't really know PHP or MySQL but you may be able to use something like
"'" . $keyword . "'" or "\'$keyword\'"
Karl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---