Fatal error: Using $this when not in object context in - Stack Overflow

Fatal error: Using $this when not in object context in - Stack Overflow

瀏覽:599
日期:2024-09-06
Like the error says, you can't use $this outside of the class definition. To use $_db outside the class definition, first make it public instead of private :....看更多