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

IIS & NW MII on the same server
Hi,

We're weighing the possibility to run both IIS and MII (NetWeaver) on the same server

Concatenate two strings ???
I have string one $string1 and another $string2.

How to concatenate (add) both of them $str

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

mail with attachment problems
Hi. I have the following code:
Code: else if(file_exists("site".$timp.".zip")

Procedure with variable number of columns
Hi, I have a procedure that looks like this:

PROCEDURE PROC(p_cursor OUT sys_refcurso

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

Help with page encoding issue and weird characters
I'm trying to write a screen scraper and when I pull out the lines of the html file that I'm interes

Any help with my email script?
I have an email script, I have not tested it, although someone tested it for me and said it worked f

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: function createthumb($name,$filename,$n

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