Is it possible to read a database through php without knowing the fields names? So it’ll be like:
1.Fetching the result array of the table “myTable”.
2.Count how many fields are inside each row.
3.Make loop to create the html table and echo the value.
normally we know the fields names of the table, so it’s easy to read. What if you don’t know the fields name?
Thank you.
This should do the trick: