Is there a way that I can get the COUNT(*) of what a query will return? For example:
SELECT * FROM table LIMIT 10 // Query
SELECT (*) FROM table LIMIT 10 // Query Count
This would actually ignore the limit ( MySQL COUNT with LIMIT). While this might be fine and 'correct' within sql, I need the exact number of rows the query is returning. How would this be done?