Hello Gurus i have a faq page . where admin will create faq category .after that admin will post questions to each faq category. but problem is that when admin delte the faq category it should alert him that " pls delete the question first then delete the category" i dont know how to do this. pls any body help me??
get the # of rows that belong to that category... SELECT COUNT(id) as cnt FROM tablename WHERE category='ID' Code (markup):