How to display list of databases present on your localhost server
Asked
Active
Viewed 1,110 times
-3
-
2mysqli_query("SHOW DATABASES"); – Bilal Ahmed Feb 02 '18 at 06:14
3 Answers
0
It had existed here (by another person), You can try it here:
How to show MySQL databases on a PHP script?
and
php mysqli list databases
and finally
http://php.net/manual/en/function.mysql-list-dbs.php
I hope it can help you

ThangLe
- 878
- 1
- 8
- 15