Support » Developing with WordPress » Ajax request Can't handle @ special char

  • 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 in email text box after its passing its display by echo $_GET[’email’];???
    i am not able to find this answer any where.plz help..

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ajax request Can't handle @ special char’ is closed to new replies.