Okay, reading all these threads on ASP.Net have made me wonder about creating presentation, logic and data layers in PHP. <BR><BR>Several people have said, this is entirely possible, and should be ...
I'm not sure if it's quite what you're asking, but if I understand you correctly, what you want to do, is get the count of items that match your query [ count(id) or something similar ] and then only ...