WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. 05bca054
    Member
    Posted 3 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
    Member
    Posted 2 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
    Member
    Posted 2 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