I want to call function in view by passing argument and wanted a value
in return

*******************************************************app_model.php
(code)******************************

function abc ($y)
{
   $v = $this->query(using $y in query);
   return $v;
}


******************************************************default.ctp
(code)************************************

now how can i call this function by passing the argument $y and get
the value $v
<?php    ?>

*****************************************************************************************
thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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