Re: related to Session-setFlash

2009-08-27 Thread cbhan
Sorry for the late reply.Yes, you are right, if you are doing it in views/layouts/default.ctp On Aug 21, 6:53 am, kdubya kenwin...@winanstech.com wrote: On Aug 19, 9:01 am, zaboo adambartholo...@gmail.com wrote: Don't echo $this-Session-setFlash() On Aug 19, 8:27 am, Chander Bhan

Re: related to Session-setFlash

2009-08-19 Thread cbhan
Yes, i was doing exactly the same,in views/layouts/default.ctp file of my application.thanks a lot for help On Aug 19, 7:02 pm, Marcelo Andrade mfandr...@gmail.com wrote: On Wed, Aug 19, 2009 at 9:27 AM, Chander Bhangotob...@gmail.com wrote: I always get the digit 1 in the next line of the

Re: related to Session-setFlash

2009-08-19 Thread cbhan
thanks a lot for helping. On Aug 19, 6:01 pm, zaboo adambartholo...@gmail.com wrote: Don't echo $this-Session-setFlash() On Aug 19, 8:27 am, Chander Bhan gotob...@gmail.com wrote: I always get the digit 1 in the next line of the message sent through Session-setFlash from controller,

Re: $_POST

2009-07-16 Thread cbhan
As you know Cake is MVC framework , simply you can access the data posted from your view(your form),in the controller's method with the following: say the function name is mario then, function mario() { if(!empty($this-data)){ $mariodata=$this-data;

Re: FREE CakePHP e-book by Matt Curry

2009-05-14 Thread cbhan
Congrats ,for the great job, can you please provide me the link of this e-book On May 14, 1:05 pm, Nate nate.ab...@gmail.com wrote: Hey everyone, Matt Curry (of CakePHP Digest fame) has just published a *free* e-book on advanced development techniques with CakePHP.  If you're already a

notEmpty rule is not responding.

2009-05-13 Thread cbhan
I am using cake_1.2.2.8120 ,notEmpty rule is not responding. // model code: var $validate = array( 'name' = array( 'rule' = 'notEmpty', 'required' = true, 'message'='Name field can not be empty.' ) ); //view code ?php /** * Class and Function List: *

Re: notEmpty rule is not responding.

2009-05-13 Thread cbhan
' = VALID_NOT_EMPTY,          'allowEmpty' =false,          'required' = true,          'message'='Name field can not be empty.'     ) ); On Wed, May 13, 2009 at 3:53 PM, cbhan gotob...@gmail.com wrote: I am using cake_1.2.2.8120 ,notEmpty rule is not responding. // model code: var $validate