Problem adding value to session array

From: Date: Thu, 17 Jul 2003 14:06:26 +0000
Subject: Problem adding value to session array
Groups: php.general 
Request: Send a blank email to php-general+get-155616@lists.php.net to get a copy of this message
I have a session array that stores some values that I set. It holds all the inserted values, unless the value I want to insert has a space in it, then it only inserts the characters before the space into the array. It looks like this: // This works $sessionArray[1] = "nospace"; echo "result: ".$sessionArray[1]; // result: nospace // This doesn't work $sessionArray[1] = "with space"; echo "result: ".$sessionArray[1]; // result: with // should be result: with space Anyone know how to fix or avoid this from happening? Thanks, Matt

« previous php.general (#155616) next »