|
本帖最后由 chris 于 2012-3-8 11:41 编辑
[ol] $catid), "order` ASC,`title", "ASC", "0, $records", "tblknowledgebaselinks ON tblknowledgebase.id=tblknowledgebaselinks.articleid", "order", "ASC", "limit");while ( $data = mysql_fetch_array( $result ) ){ $id = $data['id']; $category = $data['category']; $title = $data['title']; $result2 = select_query( "tblknowledgebase", "", array( "parentid" => $id, "language" => $_SESSION['Language'] ) ); $data = mysql_fetch_array( $result2 ); if ( $data['title'] ) { $title = $data['title']; } if ( $data['article'] ) { $article = $data['article']; } $catbreadcrumbnav .= "[url=]".$title."[/url]";}echo "document.write('".$catbreadcrumbnav."');";?>[/ol]复制代码本人系PHP菜鸟一个,呵呵,如果写得有问题,还希望各位朋友问题指出来,
此脚本你可以任意修改,转发,衍生其它版本,不过还请手下留情保留版权 |
|