Le Lundi, 26 Août 2002 14.28, vous avez écrit : > Le Lundi, 26 Août 2002 13.01, Cédric Rochat a écrit : > Pour la 4, ce n'était pas ce que je t'ai répondu? > $string_final=htmlentities(stripslashes($ton_string)); > ou $ton_string contient n'importe quoi (guillemet double, simple, etc) et > $string_final est ton string prêt à etre affiché dans ton champ input Non, ça marche pas !! Si j'ai par exemple $Titre_DVD qui contient "L'homme bicentenaire", $Titre_DVD_HTML vaut "L'homme bicentenaire", et pas de codes HTML genre !!
Dans mon code, j'ai mis ceci : $Titre_DVD_HTML= htmlentities(stripslashes($Titre_DVD)); $form->champTexte("Titre", "Titre_new", $Titre_DVD_HTML, 80, 100); @+ -- ************************* Cédric Rochat ========================= Rte des Monts 20 2400 Le Locle Priv: [EMAIL PROTECTED] ========================= Prof: [EMAIL PROTECTED] ========================= homepage : www.younics.org ************************* -- http://www-internal.alphanet.ch/linux-leman/ avant de poser une question. Ouais, pour se désabonner aussi.