Hello Josh, In the pdo chapter pag 95/96 i would rather use: ``` php // settings.php return [ 'host' => '127.0.0.1', //.... ]; ``` and then set the variable including the file: ``` php $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! :-)
Activity