The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Array question
I am able to get those values in an array
PHP Code:
$_SESSION['security'][roleid]=4; $_SESSION['security'][name]=Free; etc for each one of them? foreach ($security as $k=>$v) is not returning anything but the first one '0' without even the name. Here is the full query PHP Code:
|
#2
|
||||
|
||||
That is a multidimensional array. Is there more than 1 sub array?
If so try foreach ($security[0] as $k=>$v) if not then PHP Code:
|
#3
|
|||
|
|||
both methods work. Thanks a million!!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|