Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
Originally Posted by stoot98
Use mysql_num_rows($result). No point having an isset() function call for every table row.
|
Yes there is.
An isset() call is way faster than an mysql_num_rows().
If performance is crucial and the site is slashdotted or something similar, it can make the difference between a timeout and a page.
__________________
Only a biker knows why a dog sticks his head out the window.
|