A-$caid
$caname
"; } ?> >
A B
$Datain1-$title1
"; } }} //1 ?>

B-$cbid
$cbname
"; $lookfor12 = mysql_query( "SELECT DISTINCT Data_id FROM DataLookup, DATA_data WHERE ca_id='$caid' AND cb_id='$cbid' AND cb_id!='1' AND cc_id='1' $memerarea AND Data_id=Datain ORDER BY cb_id ASC"); while ($look12 = mysql_fetch_array($lookfor12)) { $Data_id2 = $look12["Data_id"]; $dataquery2 = mysql_query( "SELECT DISTINCT title, Datain, LAN_ID FROM DATA_data WHERE Datain='$Data_id2' AND LAN_ID='$LID' $memerarea1 AND front='N' ORDER BY numorder ASC"); while ($dataquery12 = mysql_fetch_array($dataquery2)) { $Datain2 = $dataquery12["Datain"]; $LAN_ID2 = $dataquery12["LAN_ID"]; $title2 = $dataquery12["title"]; print "$Datain2-$title2
"; }}} //2 ?>
01
06