mobcar-media
April 6th, 2003, 04:28 PM
Another slightly related variable question:
I am attempting to store data from a flash timeline into a database.
Now, if I use getURL in my AS, the PHP script works just fine and the data is saved. But, I don't want to pop up a browser window, I just want it to save. So, I created another loadVars object and tried using loadVars.send... but, with this method, no data is ever sent.
when I send via getURL, this is what I send:
getURL("http://www.mobcar.com/rbnghof.php?firstName="+firstName+"&lastName="+lastName+"&bandName="+rbngFinal);
When I send via loadvars, this is what I send:
sendData.send("http://www.mobcar.com/rbnghof.php?firstName="+firstName+"&lastName="+lastName+"&bandName="+rbngFinal, "_self", "GET");
I'm using _self, hoping that if there is an error, it will put it up on the browser. No luck.
Kind of frustrating. I figure if it works one way it should work the other... Especially if the PHP script works and is saving data to mySQL properly using getURL.
I am attempting to store data from a flash timeline into a database.
Now, if I use getURL in my AS, the PHP script works just fine and the data is saved. But, I don't want to pop up a browser window, I just want it to save. So, I created another loadVars object and tried using loadVars.send... but, with this method, no data is ever sent.
when I send via getURL, this is what I send:
getURL("http://www.mobcar.com/rbnghof.php?firstName="+firstName+"&lastName="+lastName+"&bandName="+rbngFinal);
When I send via loadvars, this is what I send:
sendData.send("http://www.mobcar.com/rbnghof.php?firstName="+firstName+"&lastName="+lastName+"&bandName="+rbngFinal, "_self", "GET");
I'm using _self, hoping that if there is an error, it will put it up on the browser. No luck.
Kind of frustrating. I figure if it works one way it should work the other... Especially if the PHP script works and is saving data to mySQL properly using getURL.