I'm wanting to say:
select * from table in a php statement, and then have it show every piece of data in that database?
| SitePoint Sponsor |




I'm wanting to say:
select * from table in a php statement, and then have it show every piece of data in that database?




also how do I sort them by alphebetical order?


To show all the results you could var_dump() the variable.
To sort the results, you could sort them in the query or sort them as an array.
Bookmarks