![]() |
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:
|
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:
|
both methods work. Thanks a million!!
|
All times are GMT. The time now is 08:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|