Variable problem
| From: | suhailkaleem | Date: | Mon, 18 Nov 2002 13:05:19 +0000 |
| Subject: | Variable problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17003@lists.php.net to get a copy of this message | ||
hi !
yes you were right there is space between server name but still i am unable
to remove it
$username ,$password,$server are comming from file and they have correct
values
$username1 = $username;
$password1 = $password;
$server1 = $server;
echo $server."test<BR>" ;
echo $password."test<BR>" ;
echo $username."test<BR>" ;
/*
This echo
127.0.0.1 test
excel test
suhailkaleem test
it echo with a space between variable value and the string test .there
is space in text file at the end of these values ?
*/
$username = "suhailkaleem";
$password = "excel";
$server = "127.0.0.1";
echo $server."test" ;
// This echo 127.0.0.1test no space
/*
why is that i see space between server and string when the values come from
the text file , although there is no space in text file at the end of
server name but when i use in my script the space appears?????
*/