mysql_tablename.php : mysql_tablename « MySQL Database « PHP






mysql_tablename.php

 
<?php
   mysql_connect("localhost","webuser","secret");
   $tables = mysql_list_tables("company");
   $count = 0;
   while ($count < mysql_numrows($tables))
   {
      echo mysql_tablename($tables,$count)."<br />";
      $count++;
   }
?>
  
  








Related examples in the same category

1.Listing databases