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