Hi guys,...
What am I doin wrong...? Getting this error:
Query: UPDATE fociki_quests WHERE id = 155
Warning (512): SQL Error: 1064: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax...

$this->User->query('UPDATE fociki_quests SET guest_id = ' $this-
>user['id'] WHERE id = ' . $user['User']['id']);

can anyone help please
thanks in advance

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to