exec($sql); echo "Table 'dealers' updated successfully." . PHP_EOL; } catch (PDOException $e) { die("DB ERROR: " . $e->getMessage()); }