Just learning the php/mySQL stuff and have a question on why a field is not displaying the whole content. I have developed a form to add/update information to a mySQL database. When I come to the form and if the information has already been entered before, I am displaying the database fields in the form. One field is a name field carrying both first and last name. When it displays in it's form text box it is only displaying the first name. How do I get it to display the full first/last name in the text box?
Here is the code for displaying the form:
echo("<tr><td width=10% align=right><font color=$pagecol\n size=3><b>Team Rep:</b></font></td>");
echo("<td width=40% colspan=5><input type=text name=teamrep size=40 value=$rnam\n></td>");
$rnam is set from the database field brought in by my SQL.
Thanks in advance for the help!!!