franches
11-01-2004, 11:57 PM
hi,
i have a problem on my listbox/select box. i am displaying data from my table in a database(with only selected fields) in my listbox. my problem now is i need to put spaces between them inorder for it to look just like in a table(with columns). my form looks like this
ID******Date******Project Code*******Map Number
//listbox here and the data ID should fall on ID column and the Date should fall on the Date column
this is a part of my code which displays the data
<p><select class=select size="120" name="VwRc" >
<? while ($rsTable=mysql_fetch_array($rs))
echo "<option>".$rsTable['ActId'],$rsTable['ActDate']; ?>
</select>
i have a problem on my listbox/select box. i am displaying data from my table in a database(with only selected fields) in my listbox. my problem now is i need to put spaces between them inorder for it to look just like in a table(with columns). my form looks like this
ID******Date******Project Code*******Map Number
//listbox here and the data ID should fall on ID column and the Date should fall on the Date column
this is a part of my code which displays the data
<p><select class=select size="120" name="VwRc" >
<? while ($rsTable=mysql_fetch_array($rs))
echo "<option>".$rsTable['ActId'],$rsTable['ActDate']; ?>
</select>