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

C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = Sy

mySQL and PHP search
Hello,
I am trying to code a project and ran into a brick wall with one of my pages. I am pretty

Multiple PHP errors when clicking a link..and..removing a ghost..
Hi - I have 2 problems with a new website - homeswapvacations.com, which I need help solving.

remove a ; from emails in textarea
Code: <?php

session_start();

$database_host = "localhost&qu

form problem
Hi all, I think this is going to be easy to resolve but for I have been looking at it to long and I

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

Array question
Does anyone know how to create a program that takes the $ amount for 8 different departments and gi

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

Standard DES encryption script?
Can anybody point me to a tutorial or a short script that shows how to encrypt some text with salt i

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