mysql_list_fields() and mysql_num_fields() error...
Posted: Sat Mar 13, 2004 7:03 pm
hi
when i try to run this within a function:
$Result = mysql_fetch_field($dbname, $tablename);
$num = mysql_num_fields ($Result);
i get the following errors in my page:
Warning: mysql_list_fields(): Unable to save MySQL query result
and
Warning: mysql_num_fields(): supplied arguement is not a valid MySQL result resource
Can anyone help???!
when i try to run this within a function:
$Result = mysql_fetch_field($dbname, $tablename);
$num = mysql_num_fields ($Result);
i get the following errors in my page:
Warning: mysql_list_fields(): Unable to save MySQL query result
and
Warning: mysql_num_fields(): supplied arguement is not a valid MySQL result resource
Can anyone help???!