我做的php 新闻管理系统搜索后分页功能却不能实现了,求代码

解决方案 »

  1.   

    为什么实现不了,GET参数里带页码就可以了。
      

  2.   

    $search_url = "&search_type=$search_value";
    js里传页面的时候  page=2"+search_url
      

  3.   

    function pageset( $coltype, $pagename )
    {
    global $msql;
    global $tbl_pageset;
    global $PSET;
    global $NowMenuid;
    if ( $NowMenuid != "" && $NowMenuid != "0" )
    {
    $addsql = " and menuid='{$NowMenuid}'  ";
    }
    $msql->query( "select * from {$tbl_pageset} where  coltype='{$coltype}' and pagename='{$pagename}' {$addsql}" );
    while ( $msql->next_record( ) )
    {
    $PSET['pagetitle'] = $msql->f( "pagetitle" );
    $PSET['metakey'] = $msql->f( "metakey" );
    $PSET['metacon'] = $msql->f( "metacon" );
    $PSET['tempfile'] = $msql->f( "tempfile" );
    }
    }
      

  4.   

    不能分页,求解,在APPSERVER中可以,在虚拟空间不能分页