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

DOMDocument parsing
Hello, I am parsing an xml file from an API which I have converted into a DOMDocument in php. This i

SMTP server...
I recently found a tutorial online on SMTP authentification for sending emails from webpages, here i

Packet Design
Hi All,
Im new about network programming and I want to design a protocol but I have some question

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place
I would like to have

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

gmmktime or mktime
I live in the UK, i am within the GMT (with daylight saving time ie 1 hour difrence between summer a

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

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