miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Master Class miniBB Support Forums / Master Class /  
 

Global array variable

 
Author Bluesplayer
Partaker
#1 · Posted: 13 Oct 2012 15:39Reply Quote
This works fine:

{$title}

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

But how do you display this:

{$l_menu[0]}

Regards

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

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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.