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 ?

122 Like 15 Dislike
Previous php-forum Next php-forum
Other php-forum

SESSION question
I am building an application , a directory for auctions.
For SEO i made a script which copies a p

DOMDocument
Hello All,

I need to take an XML document, modify some of the nodes in it and then perform a

PHP Captcha Error help - replace the "die" command
Hi All,

I am after a bit of help with a Captcha spam protection box.

The site gave me

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Removing Title From database problem
Hi again ! i am having an issue with updating database. When i update any price of a title it remove

PHP Directory Listing Not working
Hey Guys,

I need help, I tried a ton of directory listing scripts and they all don't work. Al

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

PHP Code / Script To check weather the given email exists in a domain
Hi,

I want to implement the following in my web page

in sign up we will ask to enter u

Displaying Multidimensional Arrays...about to put my head in a vice, PLEASE HELP
I am fairly new to PHP and MySQL and I have a problem which I have been trying to resolve for days.

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