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?
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!