sripslashes ???

Hello.
Im using
$elm1=$_POST['elm1']; to post
<div align="center"><font style="background-color: #ff0000" color="#0000ff" size="5"><b>LINE 1</b></font><br /></div>

but (i dont know why) my page gets...
<div align=\"center\"><font style=\"background-color: #ff0000\" color=\"#0000ff\" size=\"5\"><b>LINE 1</b></font><br /></div>

so iv tryed to remove the \ using
$elm1=$_POST[stripslashes('elm1')];

But is not working....Why???
NTGrEAsked:
Who is Participating?
 
dr_dedoConnect With a Mentor Commented:
$elm1=stripslashes($_POST['elm1']);
0
 
NTGrEAuthor Commented:
Thnx......

I should know this.... :((

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.