Hello friends,
Can someone please tell me where I can find sample scripts for populating
textboxes and listboxes on a form(when the form opens) using the data from
fields in a table?
Thanks
Denis
Text box:
print INPUT type=text name=myname value=\$data_value\\n;
List box:
print SELECT name=myselect\n;
while($row = mysql_fetch_array($result))
{
extract($row);
print OPTION value=\$data_value\$data_title/OPTION\n;
}
print /SELECT\n;
- Original Message -
From: Denis L. Menezes
On Thursday 26 December 2002 06:59 am, Rick Emery wrote:
Text box:
print INPUT type=text name=myname value=\$data_value\\n;
i prefer to use templates. i use my own template code, but there are
good template systems online that you can use,
e.g., http://smarty.php.net is powerful.
in a
3 matches
Mail list logo