Execute("delete from qub_relations_rel where ".$relation[$i]); //echo ("delete from qub_relations_rel where ".$relation[$i]); //echo "
"; } echo "
The selected relations have been removed.
"; echo "
QuB must be restarted to activate changes.
"; echo "
"; exit; } ?>
Relations:
Execute("select * from qub_relations_rel order by table1_rel, t1id_rel, table2_rel, t2id_rel"); while(!$rs->EOF){ echo "
Fields("table1_rel")."' AND t1id_rel='".$rs->Fields("t1id_rel")."' AND table2_rel='".$rs->Fields("table2_rel")."' AND t2id_rel='".$rs->Fields("t2id_rel")."'\">"; echo $rs->Fields("table1_rel").".".$rs->Fields("t1id_rel")." = ".$rs->Fields("table2_rel").".".$rs->Fields("t2id_rel"); echo "
\n"; $rs->MoveNext(); } ?>