View Full Version : how to do this

09-01-2006, 08:36 PM
how would i query a mysql database and format the results in a table with php?

09-01-2006, 08:41 PM
using descriptive subjects would be a good start.
Telling us how far you've got by yourself would also be good, the idea isn't to get people to do it all for you.
Do you know how to query the database? (http://php.net/mysql-query)
How to get the result into an array? (http://php.net/mysql-fetch-array)
Do you know how to use loop structures? (http://php.net/while)
Struggling with outputting text? (http://php.net/echo)
Is it the creating of a table that's the problem? (there's a HTML forum a bit higher up...)

09-01-2006, 08:41 PM
how do u mean format? just display the results in a <table>??