% S % t % f % I % s % d % n how to use

Source: Internet
Author: User
% 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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.