Welcome Guest, Not a member yet? Register   Sign In
Special characters issue
#5

How are you passing the form data?

Once upon a time, for simple database queries based on only one value, I would append the variable to an Ajax $_GET URL.
Thus /controller/method/$variable would be /controller/method/qwe#rty.

This caused problems since anything after the '#' is not sent to the server, it is only used by the browser to link to DOM elements on that same URL.  Sending the Ajax request via $_POST solved it.
Reply


Messages In This Thread
Special characters issue - by v1y1 - 11-25-2019, 09:59 AM
RE: Special characters issue - by jreklund - 11-25-2019, 01:46 PM
RE: Special characters issue - by v1y1 - 11-25-2019, 02:05 PM
RE: Special characters issue - by jreklund - 11-26-2019, 12:22 PM
RE: Special characters issue - by Mr Lister - 11-27-2019, 02:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB