Handling num_rows?

Discussion forum for MOD Writers regarding MOD Development.
Locked
e39m5
Registered User
Posts: 37
Joined: Sat Jun 28, 2003 4:11 pm

Handling num_rows?

Post by e39m5 »

How do you count the number of rows a query returned? I don't see a function for it within the DB class.

e39m5

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26132
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Handling num_rows?

Post by Paul »

Fetch all results and use sizeof :).
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Locked

Return to “[3.0.x] MOD Writers Discussion”