try { $pdo = new PDO("mysql:host=localhost;dbname=nellore_1_nelcom;charset=utf8mb4", "nellore_1_nelcom", "#Lola1996#"); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // Verify table exists $tableExists = $pdo->query("SHOW TABLES LIKE 'offers'")->rowCount() > 0; if (!$tableExists) { throw new Exception("Table 'offers' doesn't exist in database!"); } } catch (Exception $e) { die("