आप PHP को $match_id cast डालने के लिए कह रहे हैं और $rating पूर्णांक के लिए। आपको उपयोग करना चाहिए:
$sql->bind_param("id", $match_id, $rating);
के बजाय
$sql->bind_param("ii", ...
आप PHP को $match_id cast डालने के लिए कह रहे हैं और $rating पूर्णांक के लिए। आपको उपयोग करना चाहिए:
$sql->bind_param("id", $match_id, $rating);
के बजाय
$sql->bind_param("ii", ...