i tried to add form in normal php code like alert(“test “);
and save it than it shows it same as i entered in text area
<?php echo $_POST['txt'];?>
<form name="frm" action="" method="post" enctype="multipart/form-data">
<textarea name="txt"></textarea>
<input type="submit" name="sub" />
</form>
how ever when i does the same thing in wordpress the port retruns me alert(“test “);
every time i save it the slashes increase like alert("test "\);
is there any way to prevent it via any php code ?
some how i use and workd for me remove whites space and slashes from string