Getting rid of quotes when printing data


Posted on 16th Feb 2014 07:03 pm by admin

Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function escapes any quotes (which is good) but when I print the data into the html the data is printed with the backslashes. How do I get rid of them ?

No comments posted yet

Your Answer:

Login to answer
122 Like 15 Dislike
Previous forums Next forums
Other forums

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

Array to string conversion
Can anyone help me with this?

Notice: Array to string conversion in /home/..../index.php on l

search query in mysql in php problem
my search query wont work, i know, that my codes are correct.please help

Code: [Select]&l

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

trouble printing an array....
I'm having some trouble printing out an array forwards. I'm figuring out the high and low of an arra

Need help-Error istream header declaration
Hi Everyone ,

I am having issue with istream declaration. I am new to C programming.
can a

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and i

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash