Ralla
10-28-2005, 10:35 AM
Hi. I'm pretty new to all this, so I guess this question is kinda newbish.
Anyway, I'm trying to make PHP tell Flash which frame to go to.
Here's the PHP script:
<?php
include("dbconnect.php");
$email = addslashes($_GET['email']);
$result = mysql_query("SELECT email FROM shouts WHERE email = '$email'")
or die (mysql_error());
$number = mysql_num_rows($result);
if ($number > 0) {
$fejl = "fejl";
?>
And here's the AS:
stop();
loadVariablesNum("emailtjeck.php", 0, "GET");
if ($fejl=fejl) {
gotoAndPlay(fejl);
} else {
loadVariablesNum("post.php", 0, "GET");
play();
}
If you guys have any help og hints - please notify me! Thank you.
Anyway, I'm trying to make PHP tell Flash which frame to go to.
Here's the PHP script:
<?php
include("dbconnect.php");
$email = addslashes($_GET['email']);
$result = mysql_query("SELECT email FROM shouts WHERE email = '$email'")
or die (mysql_error());
$number = mysql_num_rows($result);
if ($number > 0) {
$fejl = "fejl";
?>
And here's the AS:
stop();
loadVariablesNum("emailtjeck.php", 0, "GET");
if ($fejl=fejl) {
gotoAndPlay(fejl);
} else {
loadVariablesNum("post.php", 0, "GET");
play();
}
If you guys have any help og hints - please notify me! Thank you.