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

    Join Date
    Jun 2000
    Posts
    1
    Rep Power
    0
    how can I use form validation or some script to change an apostrophe " ' " to " ' " so that visitors can input in form the way they are used to?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    20
    Rep Power
    0
    philwash:

    Make use of the addslashes function...

    $foo = addslashes("$foo");

    see: http://www.php.net/manual/function.addslashes.php


    ------------------
    ---------
    Lanny
    dtm

    [This message has been edited by immortal (edited June 13, 2000).]

Similar Threads

  1. Apostrophe Catastrophe
    By enormoustrouser in forum PHP Development
    Replies: 5
    Last Post: September 12th, 2003, 09:23 AM
  2. Replies: 3
    Last Post: August 1st, 2003, 08:28 AM
  3. Replies: 2
    Last Post: July 31st, 2003, 11:28 PM
  4. apostrophe problem
    By cgraz in forum PHP Development
    Replies: 5
    Last Post: November 9th, 2002, 06:12 PM
  5. apostrophe(')
    By joyce in forum PHP Development
    Replies: 3
    Last Post: March 7th, 2002, 12:35 AM

IMN logo majestic logo threadwatch logo seochat tools logo