Hello, I have following problem. So basically I have actionscript code :
Code:
lv = new LoadVars();
lv.Uz173AB = _level0.uName;
lv.KgLmn1D = _level0.fqTEcOL["player" + _level0.remotePlayers[0] + "MC"].kills;
lv.DopPZe4 = _level0.fqTEcOL["player" + _level0.remotePlayers[0] + "MC"].zqhUQj;
lv.AqWZ3n0 = _level0.mapNum;
lv.SJz7Nw8 = _level0.TqGedOz;
lv.sendAndLoad("http://somehost/file.php",lv2,"GET");
lv2.onLoad = function(success)
{
if(success)
{
my_txt.text = lv2.ztimestamp1;
}
else
{
my_txt.text = "Error loading";
}
};
And my question is: How should my PHP file be constructed to send vars into database aswel as return time stamp text to "my_text.text" where it says lv2.ztimestamp1 (this is not my project, original host that had this working was shatdown due to owner left community and I just need new PHP to put it back again on work.)