.01 .02 .03 .04 .05 .06 .07 .08 .09 .10 .11 .12 .13 .14 .15 .16 .17 .18 .19 .20 .21 .22 .23 .24 | <?php // PHP 4 et PHP 5+ $requete_sql = " UPDATE table SET nom = '".mysql_real_escape_string($nom)."' WHERE id = ".mysql_real_escape_string($id)." "; mysql_query($requete_sql); ?> <?php // PHP 5+ et PHP 7+ $requete_sql = " UPDATE table SET nom = '".$conn->real_escape_string($nom)."' WHERE id = ".$conn->real_escape_string($id)." "; $conn->query($requete_sql); ?> |