-
posting from flash to php no reult in text box
hi i have two textboxes on stag they have the instance name"subjectTxt". and returnTextBox.The subjectTxt is were th name is inputted. i am checking for the name "dan" in he php file. Just to see if my result from flash has been posted. Im not getting any results in returnTextBox
cheers
send_btn.onRelease = function() {
my_vars = new LoadVars();
//input text box
my_vars.subject = subjectTxt.text;
my_vars.sendAndLoad("http://localhost/file.php", my_vars, "POST");
//trace th name subbmited
trace(subjectTxt.text);
}
// return results from php file
returnTextBox.text = this.returnResposeFromPhp
<?php
$fromFlash = $_POST["subject"];
if($fromFlash == "name"){
echo "&returnResposeFromPhp=welldone";
}
?>
-
.
Hi,
Hello Hansolo, you can find the answers you require at your AS.org original posts.here
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|