on 3/29/02 10:54 AM, Natividad Castro at [EMAIL PROTECTED] appended the
following bits to my mbox:

> I'm trying to display data in a form, but for some reason I can display the
> entire value of every field that has more than two words in the text box.
> For example, if I want to display the name CASTRO TRUCKING, the text field
> only display the first word CASTRO.

> <td><input type=text value=<?php echo $name ?>>

Just following up on what someone else said.  If the Name field has a quote
in it, such as <<Joe's "Amazing" Truck Company>> that could also cause

To remedy, do this:

<input type="text" value="<?php echo htmlspecialchars($name); ?>">


Paul Burney

    while ($self != "asleep") {

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to