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

  • 05bca054

    (@05bca054)


    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..

Viewing 2 replies - 1 through 2 (of 2 total)
  • s_ha_dum

    (@apljdi)

    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?

    CounterDax

    (@counterdax)

    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.