tiddpd
PHP Scripter
- Joined
- Apr 16, 2008
- Messages
- 331
- Reaction score
- 0
I've spent 2 hours now trying to use this sql function called numRows. I need this is that if theres 0 rows (or results) in the query it wont spam the server windows with errors.
Ive tried it in the following formats which doesn't work:
I also tried all those above ones using getRows too which never worked. Theres probably other combonations i've tried but just dont work. And its driving me crazy, anyone know how to use it?
Ive tried it in the following formats which doesn't work:
Code:
Result.numRows
Result:numRows
Result.numRows(free)
Result:numRows(free)
Result.numRows("field name")
Result:numRows("field name")
I also tried all those above ones using getRows too which never worked. Theres probably other combonations i've tried but just dont work. And its driving me crazy, anyone know how to use it?