PHP Extending Object-Oriented PHP Inheritance Extending a Class

David Curran
David Curran
5,621 Points

Exercises files not working

I have downloaded the zip file and unpacked the files into a new directory on my pc. Im running xampp server and I ran the index.php file. I get a an error message.

Parse error: syntax error, unexpected '[' in index.php on line 4

All so there's no database with the exercise files. To do this exercise along with the tutor the code needs to connect to the database