Please Help

Hi the code below is soppose to do this. When I press the send button the (please wait for confirmation) shows up. Then (thank you for visiting).
Then finaly (You will receive a confirmation email shortly.).

What happening with me is (please wait for confirmation) never goes away,
the email does go through but thats it, does anyone know what I should do
to get the rest working properly thanks.

$sendresult = "Thank you for visiting <a href = “$siteaddress” target = “_blank”><u>$sitename</u></a>. You will receive a confirmation email shortly. ";
$send_answer = “answer=”;
$send_answer .= rawurlencode($sendresult);
echo “$send_answer”;