How to render with art template in php? Boss asks for help

The

project is built by laravel.
the
figure is full of code in the .php file
figure 3 is the error message
now you can"t get it element by element when you want to render at the front end, and then html () the template and report the wrong request for help, or there are other good methods

.
Mar.20,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eae021-46c20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eae021-46c20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?