[PHP] mysql_db_name not working (followup)

2001-08-16 Thread Peter Ostry
> The command "mysql_db_name" is not working in our installation. > We get no error, but no database listing either if we use this command. > - Now I know more: mysql_tablename is not working either - we tested both commands in a separate file. I wonder what else is not working... phpMyAdmi

[PHP] mysql_db_name not working

2001-08-16 Thread Peter Ostry
The command "mysql_db_name" is not working in our installation. We get no error, but no database listing either if we use this command. - // This is the code which does NOT work: $dbs = mysql_list_dbs(); $num_dbs = mysql_numrows($dbs); for($i=0; $i<$num_dbs; $i++) { $db = mysql_dbname($dbs, $i