Connected successfully // Database Connection include 'dbconnect.php'; include "jquery_slideing_script.php"; $sese_id = $_SESSION['myusername']; //$Strreligion = $_REQUEST['id']; $check = mysql_fetch_array(mysql_query("SELECT *, MatriID,Gender FROM register WHERE MatriID ='$sese_id' ")); $gen = $check['Gender']; $Strcity = $_GET['id']; $total_results = "SELECT COUNT(*) as Num FROM register where City Like '%$Strcity%' AND Status <> 'InActive' AND Gender <> '$gen' "; $result = mysql_query($total_results); $row = mysql_fetch_assoc($result); $totalCount = $row['Num']; if($totalCount ==0) { print ""; } $pager = new pager($_GET['p'], 10, $totalCount, 4); $offset = $pager->get_start_offset(); $limit = 10; $sql = mysql_query("SELECT *, Left(profile,130) as Profile1,Status,date_format(Lastlogin,'%d-%M-%Y') as lastlogindate,Photoprotect FROM register WHERE City Like '%$Strcity%' AND Status <> 'InActive' AND Gender <> '$gen' LIMIT " . $offset . ", $limit "); ?>
|
||||||||||||||||||||||||||||||||||||
Notice: session_start(): Ignoring session_start() because a session is already active in /home/moovent1/public_html/topmenu.php on line 2 Warning: Undefined array key "myusername" in /home/moovent1/public_html/topmenu.php on line 3 |
||||||||||||||||||||||||||||||||||||
|