On Jan 27, 2008 1:14 PM, matches <[EMAIL PROTECTED]> wrote:
>
> Yeah, I get the same error as above with single quotes and the
> following error with double quotes around my string variables (that's
> what you meant right).

like this

$this->User->execute("UPDATE 'users' WHERE 'username' = \"$username\" SET
'friends_list' = concat(friends_list, \"$friendName\")");

mysql wants strings around the strings you are using in your search
arguments  have you tried this query directly in mysql?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to