escaping issue with quotation while echoing a string

57 Views Asked by At

I have a buggy situation that i can't figure out how to solve: i tried to store in the test db some sequential double quotation marks (""""""""). Now, when i print them as value of an input type="text" field, what i get is:

<input type="hidden" """"""""="" value="" name="it">

Data in the db are passed through sanitize_text_field(stripslashes()) (first one is a wordpress core function) and so does not contain slashes at all. How can i fix this? Am i storing data in a wrong way?

0

There are 0 best solutions below