इसे आजमाएं
$chatCode = mysql_real_escape_string($_GET['chat_code']) ;
$sql = "SELECT * FROM chat WHERE chat_members_code = '".$chatCode."' ";
इसे आजमाएं
$chatCode = mysql_real_escape_string($_GET['chat_code']) ;
$sql = "SELECT * FROM chat WHERE chat_members_code = '".$chatCode."' ";