This commit is contained in:
Suvodip
2024-04-30 20:13:19 +05:30
parent ca6af2f5e2
commit 06887b01a6
14 changed files with 424 additions and 54 deletions

View File

@@ -5,7 +5,7 @@
if($_SERVER['REQUEST_METHOD'] == "POST" && $_POST['bv'] && $_POST['save_lead'] ){
try {
$lowercase_bv = strtolower($_POST['bv']);
$lowercase_bv = str_replace(' ', '_', strtolower($_POST['bv']));
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("INSERT INTO business_verticals (bv) VALUES (:bv)");
@@ -57,7 +57,7 @@
?>
<tr>
<td class="border-y-2 p-2 text-center"><?php echo $bv_counter; ?></td>
<td class="border-y-2 p-2 uppercase"><?php echo $row['bv']; ?></td>
<td class="border-y-2 p-2 "><?php echo $row['bv']; ?></td>
<td class="border-y-2 p-2 text-center"><?php echo $row['time']; ?></td>
<td class="border-y-2 p-2">
<div class="flex flex-row justify-center">