You are here: Re: How to display database table data in a html table. « PHP Programming Language « IT news, forums, messages
Re: How to display database table data in a html table.

Posted by Jim Dornbos on 01/26/07 18:06

On Fri, 26 Jan 2007 12:19:58 -0500, McGowan <Boomer84@gmail.com> wrote:

> <?php
> $i=3D0;
> 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=3D0 out one level.

Potentially the blind leading the blind here, as I'm relatively new to P=
HP =

as well.

HTH
Jim

-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация