skip some characters

Discussion in 'PHP' started by ahmedgroup, Mar 4, 2009.

  1. #1
    i am programing a script
    user can enter data in text field
    when user enter double or single quotation
    the function dont work properly
    i need a function to allow user to enter " or ' and any character
    thanks:)
     
    ahmedgroup, Mar 4, 2009 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There are many possibilities for what could be going wrong. It depends on your server settings (is magic_quotes turned on?) and what you are doing with the text (database?).

    Also, if you report a problem, it's very helpful to say what actually happens that you don't like, rather than to just say it "dont work properly". If you tell us the symptom, then the cause usually becomes much more apparent.
     
    SmallPotatoes, Mar 4, 2009 IP
  3. ahmedgroup

    ahmedgroup Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    not database
    magic is on
    it give out put in form of link
     
    ahmedgroup, Mar 4, 2009 IP