Je ne sais pas pourquoi cela se passe et je continue à obtenir cette erreur Avertissement:Avertissement: mysqli_stmt :: bind_param(): Nombre de variables ne correspond pas à nombre de paramètres dans l'instruction préparée
mysqli_stmt::bind_param(): Number of variables doesn't match number of parameters in prepared statement
$stmt = $conn->prepare("SELECT clicks FROM affiliate WHERE ID ='$ID'");
$stmt->bind_param("i", $ID);
$stmt->execute();
$stmt->bind_result($clicks); // Store the result in the $clicks variable
Possible duplication de [PHP Attention: mysqli \ _stmt :: bind \ _param(): Le nombre de variables ne correspond pas au nombre de paramètres dans l'instruction préparée] (https://stackoverflow.com/questions/16865151/php- warning-mysqli-stmtbind-param-nombre-of-variables-doesnt-match-number) – mickmackusa