Damnit! I think I need to go home, or even better, take a holiday for a fortnight.
Thanks dude. ----- Original Message ----- From: "Luke Welling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 5:30 PM Subject: Re: [PHP] Got another ripper for you all ;-) > trim($ulist[1]); You mean: $ulist[1] = trim($ulist[1]); Trim() returns a modifies copy of the string. It does not alter the original. A lot of the string functions work like that. Luke Welling -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php