<?php
include 'dbcon.php';
$res = mysqli_query($conn, "SHOW TABLES LIKE 'leads'");
if (mysqli_num_rows($res) > 0) {
    echo "Table 'leads' exists.\n";
} else {
    echo "Table 'leads' does not exist.\n";
}
?>
