[PHP] string concat with < and > From: Remco Chang (rkc <email protected>)
Date: 09/30/00

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>