Hi! Could you help? What is the name of the database, and why is not working ?
_Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\xampp\htdocs\php_alapok\simple-php-forum-application-master\libraries\Database.php:31 Stack trace: #0 C:\xampp\htdocs\php_alapok\simple-php-forum-application-master\libraries\Topic.php(13): Database->query('select topics*,...') #1 C:\xampp\htdocs\php_alapok\simple-php-forum-application-master\index.php(12): Topic->getAllTopics() #2 {main} thrown in C:\xampp\htdocs\phpalapok\simple-php-forum-application-master\libraries\Database.php on line 31
Hi! Could you help? What is the name of the database, and why is not working ?
_Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\xampp\htdocs\php_alapok\simple-php-forum-application-master\libraries\Database.php:31 Stack trace: #0 C:\xampp\htdocs\php_alapok\simple-php-forum-application-master\libraries\Topic.php(13): Database->query('select topics*,...') #1 C:\xampp\htdocs\php_alapok\simple-php-forum-application-master\index.php(12): Topic->getAllTopics() #2 {main} thrown in C:\xampp\htdocs\phpalapok\simple-php-forum-application-master\libraries\Database.php on line 31