RE: [PHP] Array problem....

From: Date: Wed, 10 Dec 2003 23:47:45 +0000
Subject: RE: [PHP] Array problem....
Groups: php.general 
Request: Send a blank email to php-general+get-172406@lists.php.net to get a copy of this message
Jas <mailto:jason.gerfen@scl.utah.edu> on Wednesday, December 10, 2003 3:44 PM said: > having no idea you could use numbers as session variable names I kinda > feel like a retard right now. You solution worked, thank you very > much. It's an array just like any other which you probably realize now. ;) Also, unless you're doing some math or something with those variables you might to split them up into their own cells (I don't really know if this is going to be useful for you or not): { $_SESSION[$iCtr]['var1'] = $var1; $_SESSION[$iCtr]['var2'] = $var2; $_SESSION[$iCtr]['var3'] = $var3; $_SESSION[$iCtr]['var4'] = $var4; $_SESSION[$iCtr]['var5'] = $var5; ... } HTH, Chris. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/

« previous php.general (#172406) next »