-
Please HELPME(PHP + LoadVars)
I have a MC with the name sendAmigo, inside him I have 2 text box, one with the name amigoNome and the other with amigoEmail
And still inside this MC I have one button with the action like this:
on(release){
indicar = new LoadVars();
indicar.amigoNome = this.amigoNome
indicar.amigoEmail = this.amigoEmail
indicar.sendAndLoad("amigo.php", this, "POST")
indicar.onLoad = function(){
nextFrame;
}
}
in the next frame of this MC I have one text box with the name teste
in the amigo.php I have this script
<?php
//session_start();
include 'connection.php';
include 'admin.php';
//@$amigoNome = $_POST['amigoNome'];
@$amigoNome = "rerererrerrerr";
@$amigoEmail = $_POST['amigoEmail'];
$amigoNome = $amigoNome."php";$amigoEmail = $amigoEmail."php";
if ($amigoNome<>""){
}
print "teste=$amigoNome";
/*
$select_campanha = "Select * from campanhas where id_campanha = '".$campanha."'";
$execute_query = mysql_query($select_campanha) or die (mysql_error() );
$row = mysql_fetch_array($execute_query);
$arquivo = $row['Nome'];
*/
//print "<param name='FlashVars' value='nome=$fName&id=$id'>" ;
?>
Please helpme
[[ Don't forget that exist one planet behind you. ]]
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
|