> I have a small problem a string I have for example : $myvar= "hell friend";
> When I display the content of $myvar with echo I see "hell" and not
the
> rest.
>
> I suppose the problem come from the < how solve the problem ?
You're putting that string in HTML and it's being evaluated by the
bro
Try
$myvar = 'hell<o my friend';
or
$myvar = htmlentities("hell -Original Message-
> From: Christian Ista [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 11, 2002 12:56 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Trouble wirh < in a string
>
>
Hello,
I have a small problem a string I have for example : $myvar= "hellhttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo