on input to the variable user
is there anyway to ignore characters like / # or " ' cause when I inputed name rkzad\\gone it came out like rkzad\\\\gone and names with or ' wouldn't work? any ideas
cause when I inputed name rkzad\\gone it came out like rkzad\\\\gone and names with
Well, to avoid rkzad\gone to become rkzad\\gone, you must use stripslashes().
Ex : From an input, $string = rkzad\\gone $string = stripslashes($string); echo $string;
Will echo rkzad\gone !
\" => " \' => ' \ => \ \NULL => NULL
thx bud, the funny thing is about 10 minutes after posting I remembere that function (me dumb).
Thankyou Matt