test links

require_once('Connections/cid1.php'); mysql_select_db($database_cid1, $cid1); $parent='15'; $sql=" SELECT DISTINCT c.content_id FROM cms_content_props AS cp, cms_content AS c WHERE c.content_id=cp.content_id AND c.parent_id='$parent' ORDER BY c.hierarchy "; $result= mysql_query($sql) or die(mysql_error()); while ($result_array=mysql_fetch_array($result))