I have almost zero experience in web development, so sorry if this is a stupid question.
I have a status table that needs refreshing every 10 seconds. So in my view file i have:
I’d like for the getstatus.php file to access the database connection and create the table that would be shown in the status div. If I drop the getstatus.php file in the base folder of the site, I get:
Fatal error: Class 'Yii' not found in /opt/lampp/htdocs/yii/www/my_project/getstatus.php on line 12