cs_Batman60
Messages postés71Date d'inscriptionsamedi 21 mai 2005StatutMembreDernière intervention21 octobre 2007
-
19 mai 2007 à 12:55
J_G
Messages postés1406Date d'inscriptionmercredi 17 août 2005StatutMembreDernière intervention28 août 2007
-
19 mai 2007 à 15:34
bonjour
pourquoi le : à se transforme en &AGRAVE dans mySQL
voici mon code:
$_marquetype_update = htmlentities ($_POST['marquetype_trouve'], ENT_QUOTES);
mysql_query("UPDATE vehicules SET marquetype='$_marquetype_update',...........
/-----------------------------------------------
dans ma table: <label for="checkbox_row_2">marquetype</label> |varchar(20), <dfn title ="suédois, insensible à la casse">latin1_swedish_ci</dfn>
/------------------------------------------------
J_G
Messages postés1406Date d'inscriptionmercredi 17 août 2005StatutMembreDernière intervention28 août 200710 19 mai 2007 à 15:34
Salut,
Parceque tu utilises "htmlentities"...
string htmlentities ( string $string [, int $quote_style [, string $charset]] )
This function is identical to
htmlspecialchars() in all ways, except with
htmlentities(), all characters which have HTML
character entity equivalents are translated into these entities.
Mais, ce n'est pas très grave :
If you're wanting to decode instead (the reverse) you can use
html_entity_decode().
A+