<?php$objCon=mysql_connect("localhost","root","*****") or die(mysql_error());mysql_select_db("jci");$sqlQry="select * from membersdetails where membershiptype='m'";$membersDataQuery=mysql_query($sqlQry) or die(mysql_error());$membersData=mysql_fetch_assoc($membersDataQuery);?>