@super84 yes, but I think its okay, everyone who has more then 2iq will get the most country codes by itself, otherwise just google. I think its ever harder to scroll in the select menu.
GET variable with spaces
-
-
@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
