这是我的代码,我要解决这个问题?
$id = $_GET['id'];
$sql = "SELECT
ques.Correct_Option,
user_ans.std_ans
FROM ques
LEFT JOIN user_ans
ON ques.Correct_Option = ques.Correct_Option
WHERE
ques.id=$id ;";
$result = mysqli_query($con,$sql);
$count2 = mysqli_num_rows($result);
$data = mysqli_fetch_array($result);
echo $count2;