Hi,
I’am trying to make this info form that wil sendinformatie, from the person who registers on the site, towards my database.
but i’am walking against this problem that my variables will not be send by the php-form. i tested it with a simple script, and its not the php-file.
it must have somthing to do with the code on my send button:
on (release) {
trace("voornaam = " + voornaam_txt.text);
trace("achternaam = " + achternaam_txt.text);
trace("gebruikersnaam = " + gebruikersnaam_txt.text);
trace("email = " + email_txt.text);
trace("postcode = " + postcode_txt.text);
if (voornaam_txt.text == “”|| achternaam_txt.text == “” || gebruikersnaam_txt.text == “” || email_txt.text == “”) {
trace(“Fill out the required form fields”);
verplicht.text=“vul de verplichte velden in”;
} else {
this.voornaam = voornaam_txt.text;
this.achternaam = achternaam_txt.text;
this.gebruikersnaam = gebruikersnaam_txt.text;
this.email = email_txt.text;
this.adres = adres_txt.text;
this.postcode = postcode_txt.text;
this.plaats = plaats_txt.text;
this.telefoon = telefoon_txt.text;
this.mobiel = mobiel_txt.text;
trace("voornaam = " + voornaam);
trace("mobiel = " + mobiel);
trace(“Calling the email.php to send the data”);
loadVariables(“email.php”,0,“POST”);
gotoAndStop(3);
}
}
Could anyone help me with this?
thnxs.