Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How to Return MySQL Results to a Table

Share this post!
 Vote this!

This is a very easy concept once you get it down. In order to display the results from a MySQL query into a table will will store the results in an array and then echo out each row in a while loop.
First off. I am going to use a table that I created in the past tutorials on this site.
The table contains the following fields:
ID – auto generated integer
FName – First Name, varchar
LName – Last Name, varchar
PHON – Phone number, varchar    more...

0 comments:

Post a Comment