Korea Ramp System

0) { $title=""; $name=""; $i=1; echo "
"; while($row = mysql_fetch_array( $result )) { $id=""; $img=""; $id=$row['REF_ID']; $img=$row['IMG_PATH']; $no++; echo '
'; echo '
'; echo '
'; echo 'this is a title'; echo '
'; echo '
'; echo ' '; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; if (isset($_SESSION['userId'])) { echo ''; echo ''; echo ''; echo ''.$row['TITLE'].''; }else { echo ''; echo ''.$row['TITLE'].''; } echo '
'; echo '
'; echo '
'; // if($currentFun == 'all' || $currentSearch == 'all') { echo '
'; } echo "
"; } else { echo '

No Records found !

'; } }else { die("Error: could not connect to database"); } mysql_close($dbconn); ?> Error: could not connect to database"); } mysql_close($dbconn2); $targetpage1 = "gallery.php?page="; $targetpage2 = "&fr=$cat&show=$show"; pagination($total_count,$targetpage1,$targetpage2,6); ?>