"; //BEGIN - Table Type - 2 May 2001 - Robbat2 if(isset($submittype)) $result = mysql_query("ALTER TABLE $table TYPE=$tbl_type") or mysql_die(); $result = mysql_query("SHOW TABLE STATUS LIKE '$table'") or mysql_die(); $row = mysql_fetch_array($result); $tbl_type=strtoupper($row['Type']); ?>
>
            "> &zero_rows="> &zero_rows="> &zero_rows="> &zero_rows=">
0) { ?>
> "; if($row["Key_name"] == "PRIMARY") { $sql_query = urlencode("ALTER TABLE ".$table." DROP PRIMARY KEY"); $zero_rows = urlencode($strPrimaryKey." ".$strHasBeenDropped); } else { $sql_query = urlencode("ALTER TABLE ".$table." DROP INDEX ".$row["Key_name"]); $zero_rows = urlencode($strIndex." ".$row["Key_name"]." ".$strHasBeenDropped); } ?> "; } print "
$strDrop";?>
\n"; print show_docu("manual_Performance.html#MySQL_indexes"); } ?>