Closed ipavl closed 8 years ago
These three lines on http://flightphp.com/learn#extending should say dbname instead of dnbname:
dbname
dnbname
Flight::register('db', 'PDO', array('mysql:host=localhost;dnbname=test','user','pass')); // new PDO('mysql:host=localhost;dnbname=test','user','pass'); Flight::register('db', 'PDO', array('mysql:host=localhost;dnbname=test','user','pass'), function($db){
Thanks, it has been fixed in the new website.
These three lines on http://flightphp.com/learn#extending should say
dbname
instead ofdnbname
: