$nameid
$txtid&"; } } else { $ferr=$st1."_".$st2; $result = MYSQL_QUERY("select * from cats where line_id='$ferr' order by poradok "); $number=mysql_numrows($result); $kolvo=$number; print "&kolvo="; print "$kolvo"; for ($i=0;$i<$number;$i++) { $arr=$i+1; $sp1=mysql_result($result,$i,"titl"); $spid=mysql_result($result,$i,"id"); $sp.="
$sp1"; print "&id$arr=$spid&"; } print "&sp="; print "$sp"; print "&"; } } else { ?>