Have you tried it?

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 21 Sep 2010, at 10:09, Cruisine wrote:

> hi, guys..i just wanna know on how to pass some parameters in one
> function ??
> as usual when i want to pass one paramater to a function, usually i
> wrote this link script at the view :
> 
> <?php echo $this->Html->link('Save all',array('action'=>'viewdata',
> $infoview['viewdata']['data_id'])); ?>
> 
> so that, once the link has been clicked by user, the function with it
> parameter will run..
> 
> my really question is how to write at least two parameters into that
> function ??
> is it ok to write the following script :
> 
> <?php echo $this->Html->link('Save all',array('action'=>'viewdata',
> $infoview['viewdata']['data_id'],$infoview['viewdata']['user_id'])); ?
>> 
> 
> really sorry for my english..
> 
> regards,
> cruisine
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to