Sorry, before I went to bed last night I made a change that I knew would work but that I cant use because I need access to the row names. The code that doesnt work is now posted and the url shows the problem.
I get 1 row back with 9 fields, I get table headers made up of the column names returned with the row. I get no data displayed in the actual table.

that's weird.
just this morning i went over to the link and i saw the right outputs.
like the number of rows which was one (1)
then the nine (9) fields or column names
and lastly there were data in the table.
do you changed the code?
why is it that there are no more data when i visit again the site just a moment ago?

or you just emptied the table in the database?