Forum Moderators: coopster

Message Too Old, No Replies

Double Quotes Problem

Problem with double quotes in PHP

         

GalaxiDesigns

4:11 am on Aug 13, 2008 (gmt 0)

10+ Year Member



I am having a problem with displaying double quotes in my product titles on my website. I imported products to the website, and since a lot of products involve measurements, the


&quot

code is right next to the number like this:


60&quot

This means it does not read it as a double quote, and instead just displays "60&quot" in the title.

I am wondering if anyone would know of a fix for this so that it would read it as double quotes still, even when right next to a number.

StoutFiles

4:39 am on Aug 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You want to echo double quotes?

<?php echo "\""; ?>

Just use the \ before a quote to get it out there.

GalaxiDesigns

3:35 pm on Aug 13, 2008 (gmt 0)

10+ Year Member



Hi Stout. Thanks for the reply, but that was not what I was asking. The problem I am having is that my product data has alot of measurements that have a double quote after the number, which stands for inches. Well anyways the data given to me has the quotes appear right next to the number in the source, no space at all, with the &quot; tag. So it look like this in the source:

60&quot;

Well this makes the computer interpret it just as that, and display's it like 60&quot;

I am wondering if there is a way for me to allow a wildcard by modifying the interpreter, so it will still interpret it as double quotes.

[edited by: GalaxiDesigns at 3:36 pm (utc) on Aug. 13, 2008]