The problem is that you have special characters that are interfering with 
the output.  I had exactly the same problem a few weeks ago.

Try this:

$fixedOutputValue = htmlspecialchars($outputValue);
print ("<input type=\"text\" value=\"$fixedOutputValue\" />");

This is how I solved it.

Note that putting htmlspecialchars($outputValue) in the value attribute 
will give you undesirable results.

At 01:32 PM 10/29/2001, Greg wrote:
>However, when I display the value in an input text box on a form, only
>"John" appears. The odd thing is that when I view source, the full name
>appears in the HTML; it just doesn't render that way in IE/Opera.


Sliante,
Richard S. Crawford

http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
"It is only with the heart that we see rightly; what is essential is 
invisible to the eye."  --Antoine de Saint Exupéry

"Push the button, Max!"


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to