我想显示一个显示PHP消息的警告框.
这是我的PHP代码:
<?php
header("Location:form.php");
echo '<script language="javascript">';
echo 'alert(message successfully sent)'; //not showing an alert box.
echo '</script>';
exit;
?>
Run Code Online (Sandbox Code Playgroud)
但它没有用.