Hello Josh,
In the pdo chapter pag 95/96 i would rather use:
// settings.php
return [
'host' => '127.0.0.1',
//....
];
and then set the variable including the file:
$settings = '../settings.php';
i think it's always preferable to have variables defined in the same file they are used (when possible).
kind regards,
great book!
:-)
Hello Josh,
In the pdo chapter pag 95/96 i would rather use:
and then set the variable including the file:
i think it's always preferable to have variables defined in the same file they are used (when possible).
kind regards,
great book!
:-)