Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Displaying a MySQL table?


YamahaR1 - 3:33 pm on Mar 14, 2005 (gmt 0)


Forgive my ignorance if this is in the wrong place, I didn't see a forum for it.

I used $query="ALTER TABLE news ADD align1 varchar(10) NOT NULL";

To add three columns. But they are not working; the values are always empty.

I tried using SHOW to dump the table.

All I want is to see the column names in a table.

But I can't figgure out how to hash the result and display it, without already KNOWING whats in there?

Please help?


Thread source:: http://www.webmasterworld.com/html/9856.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com