PDA

View Full Version : Variable support


TheSupportForum
10-17-2012, 07:42 PM
he i need help with

$array1 = array($vbulletin->options['array1']);this works perfect however i need to have 2 vboptions, where either can be filled in
1 can be black so that it picks up the other variable

i looked at this

$ipblacklist = array($vbulletin->options['array1']); or array($vbulletin->options['array2']));i know im wrong but i hope someone knows what i need

kh99
10-17-2012, 08:04 PM
1 can be black so that it picks up the other variable

Sorry, I don't understand that. But maybe you want this?

$ipblacklist = array($vbulletin->options['array1'], $vbulletin->options['array2']);

TheSupportForum
10-17-2012, 08:37 PM
Sorry, I don't understand that. But maybe you want this?

$ipblacklist = array($vbulletin->options['array1'], $vbulletin->options['array2']));

tried it that way and i got this

Parse error: syntax error, unexpected ')'

kh99
10-17-2012, 08:41 PM
oops, yeah, there was an extra ')'. I fixed my post above.

TheSupportForum
10-17-2012, 08:44 PM
oops, yeah, there was an extra ')'. I fixed my post above.

thx for that now to use this method how i need it for the mod :)