Retrieve the variable php

Discussion and feedback on Construct 2

Post » Fri Jun 08, 2012 2:12 am

How do I do to get the variable test?

<?php
$test = 1;
if ($_GET['mode']=="save") {
$score = $_GET['score'];
}
?>

I'm not getting the Ajax.LastData
B
2
Posts: 11
Reputation: 272

Post » Fri Jun 08, 2012 2:21 am

Actually I want to send a variable to the php and see if it is equal to the variable test. If yes it is, if not he sends to construct a message. How can I do this?
B
2
Posts: 11
Reputation: 272

Post » Fri Jun 08, 2012 1:49 pm

Are you making a cross-domain request? If so have you checked the manual section on it?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests