string concat with < and >
| From: | Remco Chang | Date: | Sat, 30 Sep 2000 23:50:14 +0000 |
| Subject: | string concat with < and > | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18175@lists.php.net to get a copy of this message | ||
hi,
i'm having trouble concatenating strings with the characters '<' and
'>'.
$msg = "hello";
$msg = "<".$msg.">";
this doesn't work at all... i would like $msg to be <hello>, but i end up
getting an empty string.
neither does "<<".$msg.">>" or
"\<".$msg."\>" work...
i'm stumped, any ideas?
----------------
remco chang
bountyquest.com