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