Hello! Is it appropriate to connect to the database using constants? Constants are defined, but in the code:
$pdo = new PDO("mysql:host=HOST; dbname=DB;charset=utf8", "USER", "PASS"); gives an error message
ERROR: SQLSTATE [HY000] [2005] Unknown MySQL server host 'HOST' (1)