Proble to write Variable into Ajax - Post to URL

Get help using Construct 2

Post » Fri Jul 12, 2013 1:17 pm

Hello guys,
I have a small trouble here. I cant put global variable into "Ajax - Post to URL" data section. It looks like these "" is the problem. It is clear from the picture below:



It has to be something easy. Thanks for reply!
Check out my Android games (via Constrcut 2 / Intel XDK Crosswalk):

Mushroom Run

Free snake

Wanna bring your HighScore game to nice Freegame.cz community? PM me.
B
11
S
2
G
2
Posts: 5
Reputation: 1,362

Post » Fri Jul 12, 2013 1:27 pm

try to add a & :

"game=test&user=Unhy&score="&Score

This would combine your string with the input of the variable
B
44
S
10
G
7
Posts: 437
Reputation: 5,963

Post » Fri Jul 12, 2013 2:49 pm

It works! Thank you for quick help, you are a star !
Check out my Android games (via Constrcut 2 / Intel XDK Crosswalk):

Mushroom Run

Free snake

Wanna bring your HighScore game to nice Freegame.cz community? PM me.
B
11
S
2
G
2
Posts: 5
Reputation: 1,362


Return to How do I....?

Who is online

Users browsing this forum: Jhorbam and 7 guests