Location: PHPKode > projects > PHP SQL tools > prfile/deletetheme.php
<?
include("identify.php");
load_all("deletetheme",5,1);

$table_name = "themes";

$sql = "DELETE FROM $table_name WHERE id = \"$theme_id\"";

$result = @mysql_query($sql, $main_settings->connection) or die("Couldn't execute query.");

header ("Location: themes.php");

?>
Return current item: PHP SQL tools