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
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
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,
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;
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
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:
*
' = 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