Home  >  Article  >  Backend Development  >  How to call the region name of the purchase and supply information on the destoon homepage, destoon supply information_PHP tutorial

How to call the region name of the purchase and supply information on the destoon homepage, destoon supply information_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:20:29864browse

The method of calling the region name of the purchase and supply information on the destoon homepage, destoon supply information

The example in this article mainly implements calling the region name of purchase and supply information on the destoon homepage. This is a more practical technique in destoon development.

The implementation code is as follows:

{loop $tags $k $t} 
 
[{area_pos($t[areaid], '/', 1)}]{$t[title]} 
 
{/loop} 

The code description is as follows:

$t[areaid], '/', 1 

The second parameter is the separator between region and sub-region
The third parameter is optional: set to 1 to display only the first-level regional classification; set to 2 to display the second-level regional classification, etc.

destoon How to classify and call supply categories?

But calling it like this doesn’t work at all, and all the supply information is still displayed

destoon How to call all the supply information of a certain member to the homepage

Already solvedeee221a3aa70f1daa2c6081db485e7db'' and username='$username'&pagesize=8&order=edittime&width=80&height=80&cols=8&template =thumb-table", -2)}-->

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/867240.htmlTechArticleThe method of calling the region name of the purchase and supply information on the destoon homepage. The example of this article mainly implements the call on the destoon homepage for the destoon supply information. The name of the region where the purchase and supply information is requested. This is desto...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn