Hello people,
I'm having a big problem on the editing a User,
I use the following code:
class UsersController extends AppController {
public function beforeFilter() {
parent::beforeFilter();
}
...
public function edit($id = null) {
$this->request->data['User']['i
On PostsController
Action Edit
if( $this->Post->isOwnedBy( $POSTID, $USERID) ){
//code
}
doesnot work!
*Error: *SQLSTATE[42000]: Syntax error or access violation: 1064 You have
an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right synt