Parašė mXt· 2008 Rugs. 14 17:09:50
#19
<?php
$result = mysql_query("SHOW TABLES");
for ($i = 0; $i < mysql_num_rows($result); $i++)
{
$tablename = mysql_result($result, $i, 0);
if (substr($tablename, 0, 3) == "vb3")
{
if (mysql_query("drop TABLE ".$tablename)) print "droped ".tablename."!<br />";
}
}
?>
Sukodinau. Per pridetinius puslapius ivykdyk :)
Redagavo mXt· 2008 Rugs. 14 17:09:13