if(isset($_GET['done'])) { echo '<div align="center" style="color:red;font-weight:bold">'.$confirmation_message.'</div><br />'; } In the above line i'm getting the following error. Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
I am not sure the problem with your script, but my suggestion is try to make your code is easier to read by adding space after 'if', before .$confirmation_message, etc.