% S % t % f % I % s % d % n how can I use many such symbols in discuz during discuz data retrieval? in my understanding, they are alternative symbols, these symbols seem to facilitate writing. in addition, the discuz & nbsp; SQL statement contains many parameters, which are not clearly stated by the official team. of course, I can only understand the source code. for example, in such a sentence, an array (& nbsp;) is followed ;); % s % t % f % I % s % d % n is also included in the brackets. how can this problem be used when discuz data is retrieved?
Discuz has many such symbols. in my understanding, they are alternative symbols, which seem to be easy to write.
In addition, the discuz SQL statement contains many parameters, which are not clearly stated by the official team. of course, I can only read the source code in half.
For example, sometimes in such a sentence, there is an array () followed by some parameters in the brackets. I don't know what these parameters represent.
------ Solution ----------------------
Your php basics need to be improved...
The following array is the parameter of the method fetch_first. the values in the array correspond to the placeholders such as % t, % d... in the preceding SQL statement.
For example: DB: fetch_first ("SELECT * FROM % t WHERE uid = % d", array ('Common _ member ', 1 ));
% T = pre_common_member (DB: table with table prefix will be executed by default)
% D = 1 (intval is executed by default)