TheSupportForum
10-15-2012, 05:52 PM
1) i have an option from vbsettings that i with the include in a php file
a) the php file located in a seperate folder and with to use a vb variable
b) a plugin currently loads the php file
b) do i need to include anything in the php file to get a vb variable to work
i want to do thing like this
$key = "options['option_key']";
am i doing this correctly ?
i also need help with the following
can i do this
this is the orginal code
$myarray = array();
can i do this
$myarray = array($vbulletin->options['myvar'];)
a) the php file located in a seperate folder and with to use a vb variable
b) a plugin currently loads the php file
b) do i need to include anything in the php file to get a vb variable to work
i want to do thing like this
$key = "options['option_key']";
am i doing this correctly ?
i also need help with the following
can i do this
this is the orginal code
$myarray = array();
can i do this
$myarray = array($vbulletin->options['myvar'];)