I'm using a form to display data from a mysql table. The table column contains text (i.e., more than one word) in the string.
First I'm not sure if this is the most effective and efficient way of handling the display of existing data in a form. Second, when I attempt to display the data, the statement below only displays the first word in the string instead of all of the words.
For example: If the user's name is "John Doe" and is stored as "John Doe" in the table, only "John" appears in the form field when it's displayed.
Here's a portion of the code in the form:
<TR>
<TD align=right><B>Seller's name (Required): </B></TD>
<TD><input type="text" name="SELLERNAME" maxlength="40" value=<?php echo $Seller_name; ?> ></TD>
Why?
I'd appreciate anyone's help. I've looked in the php manual but couldn't find a reason for the anomaly.
Bill.