Hi,
array(action =index) Is an associative array in php, it has not more
deeper
sense then, it is just an associative array in php,and (action =index
is a *key = value* pairs)
For more understanding about this you should go through Array topic in php
official site. and it's link is
On Mon, Feb 28, 2011 at 10:17 AM, nicolas xu.shen...@gmail.com wrote:
hi,
hi
in this code: $this-redirect(array('action'='index'));
I am absolutely new to cakePHP. the = really confuses me a lot. I
couldn't find it in PHP documentation.
It will be found in PHP .
Can anybody tell me
Hi Nicolas,
In cakephp using $this-redirect(array('controller'='anycontroller',
'action'='index')); works same as function
Header('Location: *http://www.example.com/anycontroller/index*'); works in
php. It is easy to understand
as both the functions works to redirect the control to given
hi,
in this code: $this-redirect(array('action'='index'));
I am absolutely new to cakePHP. the = really confuses me a lot. I
couldn't find it in PHP documentation.
Can anybody tell me what = means exactly? and explain the syntax of
=?
Thanks a lot!
REgards,
Nicolas
--
Our newest site for
http://php.net/manual/en/function.array.php
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 28 Feb 2011, at 04:47, nicolas wrote:
hi,
in this code: $this-redirect(array('action'='index'));
I am absolutely new to cakePHP. the = really confuses me a lot. I
'=' is one way to assign a value in an array in PHP. For more info
check:
http://php.net/manual/en/book.array.php
Regards,
Anatoli
On Feb 28, 6:47 am, nicolas xu.shen...@gmail.com wrote:
hi,
in this code: $this-redirect(array('action'='index'));
I am absolutely new to cakePHP. the = really