Welcome to the forums, AwolBush.
MySQL_Num_Fields()' job is to tell you how many fields are returned by the query.
MySQL_Num_Rows()' job is to tell you how many rows are returned.
For example:
PHP Code:
<?php
$Query = MySQL_Query('SELECT ID, Name, Value FROM Table LIMIT 10');
$RowCount = MySQL_Num_Rows($Query); // 10 rows, as given by the limit.
$FieldCount = MySQL_Num_Fields($Query); // 3 fields - ID, Name, Value.
The MySQL_List_DBs() function returns how many databases are available in the connection. Only one field is in that result, 'Database'.
Bookmarks