amites Posted April 15, 2008 Share Posted April 15, 2008 Think I need to take a break, having trouble coming up with how to combine a set of mySQL results with a integer variable to be sent back from a function any suggestions? Link to comment https://forums.phpfreaks.com/topic/101275-combining-results-to-return-from-function/ Share on other sites More sharing options...
Cosizzle Posted April 15, 2008 Share Posted April 15, 2008 Hmm you mean as a COUNT(*) Link to comment https://forums.phpfreaks.com/topic/101275-combining-results-to-return-from-function/#findComment-518031 Share on other sites More sharing options...
amites Posted April 15, 2008 Author Share Posted April 15, 2008 what I have is a function to perform a query inside a pagination, what I want to return is the number of rows and the results, thinking of taking it lazily and making the query for all rows to get the total number a separate function, but I'd like to get it all in at once Link to comment https://forums.phpfreaks.com/topic/101275-combining-results-to-return-from-function/#findComment-518057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.