Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

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

0
mediatimebomb
Asked:
mediatimebomb
1 Solution
 
jimmy282Commented:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now