You can use the following code:
echo '<HTML>' ; echo '<head> <Meta HTTP-equiv = "the Content-the Type" Content = "text / HTML; charset = UTF-. 8" /> </ head>' ; echo '<SCRIPT Language = Javascript> alert ( "thanks for your participation 10 votes opportunities have all been used up!!"); </ Script> ' ; echo ' </ HTML> ';