But it really works and gives exact value you
were asking for. At least on my comp >
2021-08-11_173506.png
2021-08-11_173352.png
@basmail said in GET variable with spaces:
Hello guys!
I want to add a variable like "12 South St Romford RM1 1RA UK" with the GET function to my database but it does not work.
A variable like "text123" is working just fine.Does anyone know what the problem is?
Thank you and best regards!
spaces in the url must be escaped. Use the encodeURIComponent() method
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent