Skip to main content
December 19, 2007
Question

Assigned text to button wont appear on my php contact form

  • December 19, 2007
  • 1 reply
  • 177 views
I have created some buttons on a contact page that uses GET to feed a contact.php script. The problem is I cant seem to get the message variable to read into the email that it generates.

The website is www.tanyapowell.com.au, its the adelaide site.

the action script I use for the button to assign the text is


on(release){
message= "12 week teen modelling and grooming"
gotoAndStop(1);
}


this should assign the variable message that token and then have it moved to the contact email using GET

the GET script is

$your_message = $_GET['message'];

and the content reader is

$content .= "Course of interest <b>" . $your_message . "</b><br>";
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 19, 2007
is that a movieclip button or a true button? and show the rest of your code that calls your php file along with your loadvars coding, if you use the loadvars class.
December 19, 2007
the code that calls the PHP file is

_parent.getURL("contact.php", "_blank", "GET");

and its a movieclip button. that is the buton is part of a movieclip.