send variables into database

Just started using Construct 2? Post your questions here

Post » Thu Nov 20, 2014 9:27 pm

Sorry, I'm a newby on this program. However, it looks great to me.
I encountered a problem while sending variables into a mysql database using AJAX:

Parameters for AJAX: Post to URL
Code: Select all
Tag  "PostScore"
URL: "http://www.webaddress.nl/game/php/savescores.php?name=playerName.Text&score= Score"
Data: ""
Method: "POST"


This doesn't work, I can't figure out why.
Retrieving data works fine.
Please give me some advise.
B
3
Posts: 1
Reputation: 177

Post » Fri Nov 21, 2014 8:18 am

Hi @Henky - Try removing the space before Score
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests