On Jan 15, 2008 9:29 PM, hydra12 <[EMAIL PROTECTED]> wrote:
>
> Try this instead:
>
> <?php
> if(isset($javascript))
> {
>     echo ($javascript->link('prototype.js'));
>     echo ($javascript->link('scriptaculous.js'));
> }
> ?>
>
> This is the normal way to write an if statement in php.  I don't know
> if the other way will work or not.
>

That's not the problem. See:

http://www.php.net/manual/en/control-structures.alternative-syntax.php

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