Breaking News
Loading...

How to select all the fields from a mysql table and access the data individually

Share on Google Plus

You can access all the data from a mysql table and access the data individually using php.

First you have to connect to the database server with this function


this will put all the rows of that column into the array $ab[] and u can access them individually eg. $ab[0] holds the first value and so on.

You Might Also Like

0 comments

About me

Contributors