![]() |
[PHP] Multi-D Super Global Array?
Is the super global array allowed to take multiple dimensions? Currently, I have:
Code:
$_SESSION[$self]['sort'] Code:
$_SESSION[$self]['$thispage']['sort'] |
Yes, you can use multidimensional arrays for superglobals in PHP. The only catch I know of is that you can't use a numeric index, so just make sure that $self isn't a number.
|
All times are GMT -8. The time now is 05:56 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project