anonymous
2009-02-07 19:44:14 UTC
I'm working with PHP and MySQL again and I've hit a snag. I'm using SHOW TABLES in combination with SELECT DISTINCT to create a dynamic menu.
The problem is that the SELECT DISTINCT code seems to ignore the "subtype" value of the first row. For example, if the subtype value for the first record is wood, it won't show up in the menu, and none of the other records that match "wood" don't cause it to show up in the menu either.
Any help would be appreciated...I'll post the code in as additional info.