On Thursday 17 July 2003 22:06, Matt Palermo wrote: > 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?
Could you post your *real* code, or post a short example which illustrates the problem. The above code works fine for me. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Toni's Solution to a Guilt-Free Life: If you have to lie to someone, it's their fault. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php