#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Location
    DeKalb, IL 60115
    Posts
    7
    Rep Power
    0
    I am having trouble inserting single and double quotes and commas to my mysql db. Is there a php method that I can run to prep variables before hand?
  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
    Yes, addslashes()

Similar Threads

  1. Inserting checkbox values from an array into MySQL
    By outlyr242 in forum PHP Development
    Replies: 1
    Last Post: February 9th, 2004, 05:28 PM
  2. Inserting HTML page in MySQL
    By sureshmulagala in forum MySQL Help
    Replies: 2
    Last Post: February 9th, 2004, 04:41 AM
  3. Double quotes ("), PHP & MySQL
    By russol in forum MySQL Help
    Replies: 1
    Last Post: February 1st, 2004, 08:40 AM
  4. php mysql search trouble
    By Mick D in forum PHP Development
    Replies: 2
    Last Post: January 12th, 2004, 10:48 AM
  5. Removing all quotes (") in a mySQL database.
    By Trent Hatred in forum MySQL Help
    Replies: 2
    Last Post: December 22nd, 2003, 02:23 PM

IMN logo majestic logo threadwatch logo seochat tools logo