#!/usr/bin/php -q 1) echo $ntables . " tables found in database:\n"; else if ($ntables == 1) echo $ntables . " table found in database:\n"; else echo "No tables found in database.\n"; //Emit the table names. for ($i = 0; $i < $ntables; $i++) { echo " " . $tables_array[$i] . "\n"; } //For each table in the design, if it is in the actual database, issue //the drop statement. if ($ntables) { for ($i=0; $i