What should I do with this query ??? There is a lot of content. each content belongs to a unique parent class, and the implementation is to sort the parent class according to the content of each parent class. This is the current code PHPcode $ db-& gt; Query (& quot; tag_list & quot;, & quot; select * from 'tag what should I do ???
There is a lot of content. each content belongs to a unique parent class, and the implementation is to sort the parent class according to the content of each parent class.
Smarty is used.
This is the current code
PHP code
$ Db-> Query ("tag_list", "select * from 'tag' order by 'id' desc limit 20 "); while ($ tag_arr = $ db-> GetArray ("tag_list") {$ tag_list [] = $ tag_arr;} $ qf-> assign ('tag _ list ', $ tag_list );
This only extracts the name of the parent class and does not sort the content of each parent class. how should I write it ??
------ Solution --------------------
The prompt does not mean that the SQL is wrong. The path in fopen () is incorrect.