Get all tables in a database : Table Database : MySQL Database PHP Source Code


PHP Source Code » MySQL Database » Table Database »

 

Get all tables in a database



<?php

   mysql_connect("mysql153.secureserver.net","navioo","password");

   $tables = mysql_list_tables("navioo");
   $count = 0;

   while ($count < mysql_numrows($tables)) {
      echo mysql_tablename($tables,$count)."<br />";
      $count++;
   }

?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo MySQL Database
» Table Database