#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    4
    Rep Power
    0
    I'm using php3 and mysql and I have a database that accepts text in VARCHAR form. Whenever I try and insert text that contains " ' " it doesn't work. I'm assuming that it's because it recognizes the ' as code and that I'd have to place a infront of it but how do I do that?
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Check the manual, specifically:

    addslashes()

    happy reading.

Similar Threads

  1. MySQL tables location
    By RodrigoRosa in forum MySQL Help
    Replies: 8
    Last Post: January 28th, 2004, 07:05 PM
  2. Java special characters and MySQL
    By jwerfel in forum MySQL Help
    Replies: 1
    Last Post: January 26th, 2004, 04:41 PM
  3. using special char. in mysql query
    By z3phir in forum PHP Development
    Replies: 3
    Last Post: January 16th, 2004, 02:10 AM
  4. how to manage the special characters
    By JanKok in forum PHP Development
    Replies: 3
    Last Post: December 29th, 2003, 12:15 PM
  5. No One Can Beat Us! Extreamly Special Reseller Offers!HOT Deals!
    By CDedicated in forum Web Hosting Offers
    Replies: 0
    Last Post: December 14th, 2003, 05:57 AM

IMN logo majestic logo threadwatch logo seochat tools logo