[Solved]Query DB:Display on Table
Posted: Thu Sep 01, 2005 5:26 pm
Hey.
Sorry to bother you guys with another "duh" question, but here it goes:
How can I get all of the data from a specific table, and display it on a table using php? I can connect to the db, and run a Select * from table query, but I have no idea how to parse it and display it in a table....
For example, the table might have the following fields: Name (Index), email, phone. Now the db has all of this info. I need the php script to get all of the data, and for each "user", run a
I hope I was clear.
Thanks for the help,
Larry
Sorry to bother you guys with another "duh" question, but here it goes:
How can I get all of the data from a specific table, and display it on a table using php? I can connect to the db, and run a Select * from table query, but I have no idea how to parse it and display it in a table....
For example, the table might have the following fields: Name (Index), email, phone. Now the db has all of this info. I need the php script to get all of the data, and for each "user", run a
Code: Select all
<tr><td>$name</td> (etc) </tr>Thanks for the help,
Larry