
September 5th, 2004, 09:58 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Problems with MySQL and flash
Okay, i'm trying to get flash actionscript to go to a PHP file and all that, which works.. But I need help on the URL part of it.. the current is
Code:
on (release) {
if (RegName ne "") {
Status = "Beginning registration Process... Please Hold";
loadVariablesNum("Register.php?RegName="+RegName+"&"+random(999) , 0);
} else {
Status = "Please enter a User Name to register";
}
}
and
Code:
on (release) {
if (Name ne "") {
gotoAndPlay(2);
Status = "Beginning Login Process.. Please Hold";
loadVariablesNum("Login.php?Name="+Name+"&R="+random(999) , "0");
} else {
Status = "Please enter a User Name";
}
}
Now, my problem is I need to make it where it will register the password and read the password also in that one line, if I make it in sep. lines like this
Code:
on (release) {
if (RegName ne "") {
Status = "Beginning registration Process... Please Hold";
loadVariablesNum("Register.php?RegName="+RegName+"&"+random(999) , 0);
loadVariablesNum("Register.php?RegPass="+RegPass+"", 0);
} else {
Status = "Please enter a User Name to register";
}
}
It adds 2 diffrent tables, one for username then another for password..
Can anyone help?
Incase you need to see the script, you can get it at
URL
|