stripslashes in web forms

From: Date: Mon, 04 Mar 2002 09:56:03 +0000
Subject: stripslashes in web forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87060@lists.php.net to get a copy of this message
Here is the ideea.. i have a string variable $test that contains let's say : 17" Normally the output on the screen of this string would be echo $test; ---> 17 \ There is this function stripslashes which gives me the oportunity to output exactly what i want... i mean 17" .. .but this doesnt seem to work in an input box in a web form... it outputs only 17 and somehow misses the " ... What is there to do? Thanks in advance.. Claus

« previous php.general (#87060) next »