How to pass multiple parameters to access into the view files?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category