Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to pass multiple parameters to access into the view files?



How to pass multiple parameters to access into the view files?..

Answer / Kunwar Akram Ali

In CakePHP, you can pass multiple parameters to a view by using an array. For example, in a controller action: $this->set('parameter1', 'value1'); $this->set('parameter2', 'value2'); Then in your view file: <?php echo $parameter1; ?> and <?php echo $parameter2; ?>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CakePHP Interview Questions

What are commonly used helpers of cakephp?

1 Answers  


What is habtm?

1 Answers  


Which is better cakephp or laravel?

1 Answers  


What is the current stable version of cakephp?

1 Answers  


How we can set custom page title in cakephp?

1 Answers  


What are sessions in php. How to read, write and delete session in cakephp?

1 Answers  


Please write the name of cakephp database configuration file name and its location?

1 Answers  


How to install cakephp?

1 Answers  


explain the server requirements for cakephp.

1 Answers  


What is mvc (model, view, and controller) in cakephp?

1 Answers  


What is wrong with the below validation rule?

1 Answers  


Why cakaphp is used?

1 Answers  


Categories