.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Tech (http://www.dsy.it/forum/forumdisplay.php?forumid=189)
-- [php]help! (http://www.dsy.it/forum/showthread.php?threadid=16454)


Posted by fulminato1 on 12-01-2005 19:54:

[php]help!

ho un problemino in php...nella visualizzazione, nella pagina, di un testo inserito tramite una text area ( come se fosse un guestbook)...praticamente i caratteri tipo l'apostrofo vengono visualizzati con il backslash davanti...esiste un modo rapido per eliminare questo inconveniente?

grazie in anticipo a tutti

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla


Posted by recoil on 12-01-2005 19:55:

c'è la funzione stripslashes

__________________
Sono sempre alla ricerca di curriculum interessanti da segnalare alle società con cui ho contatti. Info in pm


Posted by DeepBlue on 12-01-2005 20:00:

e per riaggiungerli dopo eventuali modifiche ai campi, prima di darli in pasto a mysql, c'è il comando addslashes.

www.php.net
http://it.php.net/manual/it/ref.strings.php
http://it.php.net/manual/it/function.addslashes.php
http://it.php.net/manual/it/function.stripslashes.php

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~


Posted by fulminato1 on 12-01-2005 20:05:

grazie ad entrambi per l'aiuto!!!

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla


All times are GMT. The time now is 19:25.
Show all 4 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.