note 45274 rejected from function.rtrim by betz
| From: | betz@php.net | Date: | Tue, 31 Aug 2004 22:45:28 +0000 |
| Subject: | note 45274 rejected from function.rtrim by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75772@lists.php.net to get a copy of this message | ||
Note Submitter: elotro84 at entrones dot com dot mx
----
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?