yes, make sure your controller's function has standard php method of
making a variable optional.

On May 7, 9:47 am, Enchy <[EMAIL PROTECTED]> wrote:
> Oh nvm I discovered the set function.
>
> But now I have another problem , it blurts out an error if I dont send
> a variable.
> Does anybody have solution for this?
>
> L
>
> On May 7, 3:54 pm, Enchy <[EMAIL PROTECTED]> wrote:
>
> > Hi
>
> > New to this.
>
> > How do you pass variables in the URL in cakephp
>
> > index.php?/app/index/name/John
> > Is this how you do it?
>
> > and how do you print it in thml files
> > <? echo $name; ?>
>
> > Thanks


--~--~---------~--~----~------------~-------~--~----~
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