Hi,
Thursday, January 23, 2003, 10:47:56 PM, you wrote:
DLM> hello friends,
DLM> 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
DLM> 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?
DLM> Quote :
DLM> <?php
DLM> while($row=mysql_fetch_array($result)){
DLM> print " <form name=\"form1\" method=\"post\" action=\"update.php\">";
DLM> print " <input name=\"OrgName\" type=\"text\" id=\"OrgName\" size=\"30\"
value=$row[OrgName]>";
DLM> print " </form>";
DLM> }
DLM> ?>
DLM> Unquote
DLM> Thanks
DLM> denis
put the value in quotes
value=\"$row[OrgName]\">
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php