SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2000
    Location
    Sydney, Australia
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I have created a database, and one of its fields is called "Cat" which is of type Text. Every time I get this particular field from the sql database using php and display it on a HTML page, it always puts quotation marks around the field's contents

    if you want to see what i mean, http://www.myringtones.net/php/rt_show.php?id=5

    It only puts quotations for just that one field, and it is the same data type for the other fields too, except for the ID and Tempo.

    Does anyone know why it does this, and also how I can get rid of the ""'s?

    Thanks!!!

  2. #2
    SitePoint Enthusiast
    Join Date
    Nov 2000
    Location
    Sydney, Australia
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw, the Cat field's contents arent in quotation marks in the database

  3. #3
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It would probably help to see the code you used to dispy the contents.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •