Php/as trouble

what’s wrong with this??

actionscript on the button:

on (release) {
loadVariablesNum (“http://www.omnislant.com/php/register.php?memUN="+memUN+"&memPW="+memPW+"&memEMAIL="+memEMAIL+"&memAGE=”+memAGE, “0”);
}

and the php is this:

$query = “INSERT INTO users (memID, memUN, memPW, memEMAIL, memAGE) VALUES (’’, ‘$memUN’, ‘$memPW’, ‘$memEMAIL’, ‘$memAGE’)”;
$result = mysql_query($query);

$numR = mysql_affected_rows($connect);

if ($numR == 1) {
print “Status=success”;
} else { print “Status=failure”;
}

everything works except getting the variables into the php… help please?