[PHP] stripslashes in web forms

2002-03-04 Thread Claudiu
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

RE: [PHP] stripslashes in web forms

2002-03-04 Thread Niklas Lampén
This should do it: ? $test = 17\ blah; $test = stripslashes($test); ? input type=text name=test value=?=htmlspecialchars($test)? Niklas -Original Message- From: Claudiu [mailto:[EMAIL PROTECTED]] Sent: 4. maaliskuuta 2002 11:56 To: [EMAIL PROTECTED] Subject: [PHP] stripslashes