//$q="select $sid,$stitle,$sauthor from $table where $sdata rlike '^.*$data_search.*'order by $stitle"; if(($a_data=="data")&&(strlen($data_search)==2)){ $q="select $sid,$stitle,$sauthor,$sdata from $table $key_where order by $stitle"; $single_chinese=1; } else{ $q="select $sid,$stitle,$sauthor from $table $key_where order by $stitle"; } $index_data=""; $count=0; $result [email protected] mysql_query($q);