Thread: VARCAR

  1. No Profile Picture
    Indie Poser Punk
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Wayne, PA
    Rep Power
    ...I mean "VARCHAR". Anyway...With PHP and MySQL, I am making a form that writes info to a database from a form. It seems when a user inputs info into a form field and it uses an apostrophe, none of the info will write to the database. All of the fields are VARCHAR allowing null entry. I would like any feedback and hints. Check it out if you want: Thanks in advance!

    [This message has been edited by BicyclePunk (edited November 20, 2000).]
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Caro, Michigan
    Rep Power
    Single apostrophes must be escaped by the backslash character when used in your queries. use addslashes().

    ---John Holmes...

    * The manual can probably answer 90% of your questions...
    * PHP Manual.
    * MySQL Manual:

IMN logo majestic logo threadwatch logo seochat tools logo