SELECT COUNT(id) as num FROM testinfo_tbl
and then another one that will do the limit to only return the results that I actually want:
SELECT id,name,blah1,blah2,blah3 FROM testinfo_tbl
Is there a way to do this in 1 mysql query, as I am trying to reduce the amount of queries I send to the database...slowing things down...

New Topic/Question
Reply


MultiQuote




|