select error SELECT *,parent FROM `kategorie`,`tree` where `kategorie`.id=`tree`.pageid and `tree`.tablepage='kategorie' and `kategorie`.idprojektu=3 and `kategorie`.id=