miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

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

Global array variable

 
Author Bluesplayer
Partaker
#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
Partaker
#3 | Posted: 13 Oct 2012 18:43 
Excellent.

Thanks

Master Class miniBB Support Forums / Master Class /
 Global array variable
 Share Topic's Link

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


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP