AS3 Web Forms and PHP

I just can’t believe this. I made a simple Web form connected to a PHP file, and I made the return as I always did in AS2 like this:
if ($theStatus==“submission”) {
if (!(mail($to, $subject, $theMessage, $fromHeader))) {
echo “&returnMessage=0&”;
}else{
echo “&returnMessage=1&”;
}
}
No errors. And the message would send. But I got no return back to Flash, which just sat there, like duuuuh.

Come to find out, now you don’t put in the ampersands. The reason I got no feedback is because of the ampersands. I changed the code to echo “returnMessage=1”; and it works fine.

Who thinks this stuff up?