Home > CMS Tutorial > DEDECMS > body text

How does DreamWeaver obtain the static link of a column based on the column ID?

藏色散人
Release: 2020-01-07 09:37:30
Original
2988 people have browsed it

How does DreamWeaver obtain the static link of a column based on the column ID?

How does Dreamweaver obtain the static link of a column based on the column ID?

Recommended learning: 梦Weavercms

梦Weaver obtains the static link of the column based on the column ID

$row = $dsql->GetOne("select * from `dede_arctype` where id = 1");  //1为栏目的id
$typeurl = GetTypeUrl($row['typeid'],MfTypedir($row['typedir']),$row['isdefault'],$row['defaultname'],
    $row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);
echo $typeurl;die;
Copy after login

The above is the detailed content of How does DreamWeaver obtain the static link of a column based on the column ID?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template