< ? PHP $sql=" SELECT item.ID " . ", title.en , title.cn, title.jp, title.it " . " FROM item ,text AS title " . " WHERE ( item.TitleID = title.ID ) " . " AND item.IsShow = '1' AND item.isFolder = '1' AND item.type = 6 " . " ORDER BY item.sort "; $result=m ysql_query( $sql ); if ( mysql_errno()==0 ) { while ( $row=m ysql_fetch_array( $result ) ) {// $p_titles[ $index ]=s tripslashes ( $row[ $lang ] );// $p_id[ $index ]=$ row[ "ID"]; print( '
' ); } if ( isset( $result ) )mysql_free_result( $result ); } else {// echo( $sql );// print( mysql_error() ); } ?>