GetOne("select * from `dede_arctype` where id=1");"; and then add the parameters Just change the id to the value you want."/> GetOne("select * from `dede_arctype` where id=1");"; and then add the parameters Just change the id to the value you want.">

Home  >  Article  >  CMS Tutorial  >  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?

藏色散人
藏色散人Original
2020-01-07 09:37:302987browse

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;

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!

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