How does the thinkphp5 template volist parse variables?



Please take a look. Is it wrong to write this? why can"t you parse this variable

?
Feb.28,2021
That's how volist is used in the

template, yes. Change the controller to $this- > view- > assign ('list',$list);


change $this- > assign (' list',$rtrade) to $this- > assign ('rtrade',$rtrade). The first parameter in it is the name of the variable, followed by the value of the variable

.
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-1bf61b1-31fe1.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-1bf61b1-31fe1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?