Re: How to display database table data in a html table.
- From: "Jim Dornbos" <usenet@xxxxxxxx>
- Date: Fri, 26 Jan 2007 13:06:57 -0500
On Fri, 26 Jan 2007 12:19:58 -0500, McGowan <Boomer84@xxxxxxxxx> wrote:
<?php
$i=0;
while(mysql_fetch_array($headers))
{
?>
<td><?php echo $temp[$i]; ?></td>
<?php
$i++;
}
?>
Don't you actually want this while pointing at $data instead of $headers? Or - get rid of this while entirely and move your $i=0 out one level.
Potentially the blind leading the blind here, as I'm relatively new to PHP as well.
HTH
Jim
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.
- Prev by Date: Please Kindly, CD needed ()
- Next by Date: Re: How to display database table data in a html table.
- Previous by thread: Re: How to display database table data in a html table.
- Next by thread: Re: How to display database table data in a html table.
- Index(es):
Relevant Pages
|