connect_error) { die("Connection failed: " . $conn->connect_error); } $ID = $_POST["buyers"]; $start=microtime(true); $sql = "DELETE FROM user_buyer WHERE u_id='$ID'"; $result = $conn->query($sql); $end = microtime(true); $execution_time = $end - $start; if ($result) { echo "delete successfully! Running time: ".$execution_time."s"; // Add a line break for readability echo "
"; echo 'Return home'; // Fixed echo statement } else { echo "Sorry! nobody coule be found!"; } // Close the database connection after using it $conn->close(); ?>