So I'm trying to make a really simple ajax request with a score and a name. Everything I've looked up suggests what I have is correct, but C3 says it's not valid.
I'm putting the method as POST with a data string like this:
[quote:2zbuxpp7]"score=" &Score & "name=" &highscorename.Text
I've read lots of guides saying to use URLEncode, but that doesn't apply, since it's POST and not GET. Every time I check the $_POST['name'] in PHP it's empty, but $_POST['score'] comes up as say "462.66792name=liam" for example. What am I missing to split them?
It needed to be this:
[quote:2zbuxpp7]"score=" &Score & "&name=" &highscorename.Text
Develop games in your browser. Powerful, performant & highly capable.