Ajax request Can't handle @ special char (3 posts)

  1. 05bca054
    Posted 5 years ago #

    Hello friends .

    i just passing @ in email field of $_GET['email'] but when i print it and store in database it's gone???
    for example i enter niks@nettechno.com in email text box after its passing its display niksnettechno.com by echo $_GET['email'];???
    i am not able to find this answer any where.plz help..

  2. s_ha_dum
    Posted 5 years ago #

    I store email in the DB all the time, and so does the WordPress core. What is the code that you are using to insert and retrieve the email address?

  3. CounterDax
    Posted 5 years ago #

    Are you sure you are handling special characters like @ correctly, both in your Javascript and in PHP? @ has special meaning in certain cases, such as in some regular expression handlers, etc.

    More info, like the scripts involved, might help someone tracing the error down.

Topic Closed

This topic has been closed to new replies.

About this Topic