Bug in edit user

2013-05-17 Thread Guilherme Magno
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

how to tell if a post belongs to a User!?

2013-05-03 Thread Guilherme Magno
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

Re: PHP IDEs

2009-09-10 Thread Guilherme
NetBeans for PHP en ZendStudio are the best IDE's for PHP development. But ZendStudio not is free. On Sep 10, 8:05 am, jason m wrote: > I have used textmate, coda, eclipse, netbeans, and aptana on Mac. For > me, > textmate has worked the best with the cakephp bundle. Although it is > not free, >