Hem / Tips & tricks
$num = 0;$show = "SHOW TABLES";$show_res = mysql_query($show,$conn) or die(mysql_error()); while($row = mysql_fetch_assoc($show_res)) {$sql = "DROP TABLE '".$row[$num]."'";mysql_query($sql) or die(mysql_error());$num++;