RE: [PHP] Trouble wirh < in a string

2002-10-11 Thread John W. Holmes
> 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

RE: [PHP] Trouble wirh < in a string

2002-10-11 Thread Brian V Bonini
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 > >

[PHP] Trouble wirh < in a string

2002-10-11 Thread Christian Ista
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