A rather strange problem.
| From: | Denis L. Menezes | Date: | Thu, 23 Jan 2003 12:47:56 +0000 |
| Subject: | A rather strange problem. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132808@lists.php.net to get a copy of this message | ||
hello friends,
I run some queries and output the database fields in a form with text boxes for the purpose of
editing by the administrator. My problem is that if my field value is of 2 words or more, my output
text box shows only the first work. e.g. if the field is "Jane Enterprises", the textbox
shows only "jane". My code is below. Can someone please tell me what it is I am doing
wrong?
Quote :
<?php
while($row=mysql_fetch_array($result)){
print " <form name=\"form1\" method=\"post\"
action=\"update.php\">";
print " <input name=\"OrgName\" type=\"text\"
id=\"OrgName\" size=\"30\" value=$row[OrgName]>";
print " </form>";
}
?>
Unquote
Thanks
denis