hi all,
i want to make this input box appear inside table each input box has a value from mysql db the code is blow:
<table>
<tr>
<td>Name:</td>
<td>$name</td>
</tr>
</table>
<?php
connect::db_connect($host,$user,$pass);
connect::db_select($db);
$result = Name::SelectByID($ID);
whil ($row = mysql_fetch_array($result))
{
print $name="<input type=\"text\" value=\"$Name\" name=\"uname\" > <br />";
}
?>
every time i run it the input box not shown inside table, what's wrong with that!!!
thanks in advance :d