Posted by BKDotCom on 11/22/06 17:22
Auddog wrote:
> while (list($id, $fname, $lname) = mysqli_fetch_row($result))
> {
> echo " <tr>
> <td><div align=center>$id</div></td>
> <td>$fname</td>
> <td>$lname</td>
> <td><input name=hours type=text size=4 maxlength=4 />
> </tr>";
> }
> The input box would be the hours input - I'm not sure I catch on to what you
> would do. Thanks for the help.
>
perhaps instead of '<input name=hours type=text size=4 maxlength=4 />'
you do ''<input name="'.$id.'_hours" type="text" size=4 maxlength=4
/>''
I assume that 'id' is unique for each from
??
Navigation:
[Reply to this message]
|