hello, I need a solution to this problem,
I have a file config.php:
<?php $x="test"; ?>
I have a file page.thtml
<?php echo renderElement('config'); ?>
<?php echo $x ; ?>
result:
Notice: Undefined variable: x in /var/www/html/
Also I test with : vendor('config'); not work
PS: Using include('config.php'); it works but there is no another
solution? 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
-~----------~----~----~----~------~----~------~--~---