miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   

Global array variable

Author Bluesplayer
Registered
#1 | Posted: 13 Oct 2012 15:39 
This works fine:

{$title}

<?php echo $GLOBALS['title']; ?>

But how do you display this:

{$l_menu[0]}

Regards

Author Paul
Lead Developer
#2 | Posted: 13 Oct 2012 18:34 
<?php echo $GLOBALS['l_menu'][0]; ?>


Author Bluesplayer
Registered
#3 | Posted: 13 Oct 2012 18:43 
Excellent.

Thanks

Master Class miniBB Support Forums / Master Class / Global array variable Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB