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

Help on code output
My CODE:

Code: [Select] echo "<phone>".$line["phone"].&qu

Confused with Loop
guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A&q

Images in email problem
I found this script for sending emails, it works but if the email has <img src="image.jp

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

unserialize help, getting errors
hi all ,
I got a form with 6 fields (2 input and 4 select box), when the page loads one block is

Check premium expire
Hi,

I am making a simple file hosting site and want to check if users premium subscriptions h

if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough

Just a white page
Okay so, my website, when I click SignUp on it it takes me to /join.php but its a complete white pag

Dump with added_funcion cl_salv_table
Hi there, I'm having some troubles adding a self defined function to an ALV in fullscreen. The thing

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