note 45274 added to function.rtrim

From: Date: Tue, 31 Aug 2004 22:18:27 +0000
Subject: note 45274 added to function.rtrim
Groups: php.notes 
Request: Send a blank email to php-notes+get-75770@lists.php.net to get a copy of this message
when I want to eliminate spaces in white with trim () of a variable that I send of a flash movie to php page, it eliminates what contains the variable: //recive the var $esta = $HTTP_POST_VARS['id']; $esta1 = trim($esta,' '); echo $esta1; // "empty"; why? ---- Manual Page -- http://www.php.net/manual/en/function.rtrim.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45274 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45274&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45274&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75770) next »