PHP Manuál | ||
---|---|---|
Předcházející | Další |
mysql_list_dbs() will return a result pointer containing the databases available from the current mysql daemon. Use the mysql_tablename() function to traverse this result pointer.
The above example would produce the following output:
Poznámka: The above code would just as easily work with mysql_fetch_row() or other similar functions.
For downward compatibility mysql_listdbs() can also be used.
See also mysql_db_name().
Předcházející | Domů | Další |
mysql_insert_id | Nahoru | mysql_list_fields |