easy output question

i am pulling a value form a data base that has a qoutation mark in it.

it looks like this
Fits 14" - 20" Centers

I want to set this as the value for a input box but it does not display correctly is shows this

Fits 14

how can I display the qoutation mark?

P.S. I don't want to use the url encode decode stuff because I will have the change lots of stuff if I do

mediatimebombAsked:
Who is Participating?
 
jimmy282Connect With a Mentor Commented:
I am sure you are using this
<input type=text value="Fits 14" - 20"">

use it like this

<input type=text value='Fits 14"-20"'>

Otherwise u have to escape the double quotes.

Jimmy
0
 
mediatimebombAuthor Commented:
;-) thanks, you the man
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.