I know it's bad practice to use tables for users, but ah well, here it is this is to delete a user.
PHP Code:<?php
$user = $_GET['user'];
$sql_a = mysql_query("DROP" .$user. "table IF EXISTS");
$sql_b = mysql_query("DELETE * FROM users WHERE user='$user'");
if($sql_a) {
if($sql_b {
echo "" .$user. "successfully deleted!";
}
}
?>





lol.
Reply With Quote


