Bonjour,
Uncaught mysqli_sql_exception: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='
col_1 = INT
col_2 = varchar(40) INTERCLASSEMENT utf8mb4_unicode_ci
$vv[22] = provient d'un fichier externe, codage inconnu (peut-être utf8mb3_general_ci,COERCIBLE).
Je ne comprends pas l'erreur.
Je suppose qu'il faut ajouter un COLLATE quelque part mais où ?
Merci d'avance de votre aide.
Uncaught mysqli_sql_exception: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='
if (!Empty ($vv[22]))
{
if (isSet ($Fab_Tab[$vv[22]])) $vv[22] = $Fab_Tab[$vv[22]];
$requete = "SELECT col_1 FROM table WHERE col_2 = '" . $vv[22] . "'";
if (mysqli_num_rows (mysqli_query ($connexion, $requete)) == 0) $Tab_Equi[$vv[0]] = $vv[22];
}
col_1 = INT
col_2 = varchar(40) INTERCLASSEMENT utf8mb4_unicode_ci
$vv[22] = provient d'un fichier externe, codage inconnu (peut-être utf8mb3_general_ci,COERCIBLE).
Je ne comprends pas l'erreur.
Je suppose qu'il faut ajouter un COLLATE quelque part mais où ?
Merci d'avance de votre aide.