include "dilg/cnt/join.php"; extract($_REQUEST); $ID=$_GET['id']; $type=$_GET['type']; //fetching data to display starts if($ID !='') { $sel_rows=mysql_query("select * from common_news where type='$type' and id='$ID' "); $rows_R = mysql_fetch_object($sel_rows); foreach($rows_R as $K1=>$V1) $$K1 = $V1; } ?>