I'm wondering if you have
1. A file naming problem. Does your file name use something other than .php at the end of it?
2. Missing php tag/s? That is you don't have the <?php ?> surrounding your code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can this be added? My class file is completely bold and black.
Seems to work ok for me.
I'm wondering if you have
1. A file naming problem. Does your file name use something other than .php at the end of it?
2. Missing php tag/s? That is you don't have the <?php ?> surrounding your code.