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

Problem with "dynamic" index page
Hi. I have one question. In my index.php page I have this kind of code:
Code: // listaa sivut

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

Error in SQL Syntax HELP!!!
I have this page:

Code: <?php

session_start();

//connect to server and s

strtotime issue
Hey all,

I'm playing around with some code, and basically the idea is:

Person changes

simple php table loop
Hi all,

I've the following code

<?php // Create category options

removing space from the end of a variable
i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0m

how can we add data from dynamic fields to mysql db in php
i have a script which i found on the internet. i modify that script according to my needs. what is i

Save cookie to DB
I'm working on a pixel tracking script for an incentive website and I need to use an ASP script to s

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

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

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and 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