Can anyone explain this to me?:
if (isset ($ _ session {Pack}]} {{if_array ($ _ session ['pack'])) {foreach ($ _SESSION ['pack'] as $ pack) {// code}}} I get: Warning: invalid argument has been provided for foreach () and if I
dies (var_dump ($ _ session ['pack'])); find me
array (1) {[0] = & gt; String (2) "16"} I'm really laughing with this one, I need to get ready for it tonight and I'm stuck with it. ..
foreach ($ _SESSION [p> 'pack'] $ pack form If you have enabled, then $ _ session ['pack'] will be the same as $ pack < / Code>. This can produce strange results, either make sure that register_globals are disabled or replace $ pack with something else.
Comments
Post a Comment