Can't retrieve type information from database! SELECT DISTINCTROW type FROM parent ORDER BY type