note 13423 deleted from function.trim by didou

From: Date: Sun, 18 May 2003 02:30:22 +0000
Subject: note 13423 deleted from function.trim by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48337@lists.php.net to get a copy of this message
Note Submitter: chok@ece.gatech.edu ---- note that when you're doing trim( $str ), where $str is a HTML form posted variable such that $str = " " (HTML interpreted), it doesn't work. to clear all " " ( ord() = 160 ), use: $str = str_replace( chr( 160 ), '', $str );

« previous php.notes (#48337) next »