Re: Parse error in Model.

2009-10-28 Thread centr0
omg. kill me. this is what i get for programming in java for a month.. then going back to php. thank you toby... and thanks miles for the link! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To

Re: Parse error in Model.

2009-10-28 Thread Toby Ashley
This... function validatePassword(password1 = null, password2 = null) { ...should be function validatePassword($password1 = null, $password2 = null) { On Wed, Oct 28, 2009 at 10:59 PM, centr0 wrote: > > For the life of me i cant figure out why im getting a parse error. > > class U

Re: Parse error in Model.

2009-10-28 Thread Miles J
It doesn't help if you don't explain what your are doing and what you are trying to achieve. Where is validatePassword used? Also: http://www.milesj.me/resources/snippet/17 On Oct 28, 3:59 pm, centr0 wrote: > For the life of me i cant figure out why im getting a parse error. > > class User ext

Parse error in Model.

2009-10-28 Thread centr0
For the life of me i cant figure out why im getting a parse error. array( 'rule' => 'email', 'message' => 'Email address is required.' ), 'password' => array( 'rule' => 'alphaNumeric',