MySQL Query - number of rows...

Hello,
Stupid question, but how can I find out how many rows my SQL query
returned?

@grab_new_entries = NewEntries.connection.select_all("SELECT displayname
AS displayname FROM new_entries")

@grab_new_entries.num_rows didn't work....

Thanks,
- Jeff Miller

Hello,
Stupid question, but how can I find out how many rows my SQL query
returned?

@grab_new_entries = NewEntries.connection.select_all("SELECT
displayname
AS displayname FROM new_entries")

It's just an array. @grab_new_entries.length

Fred