下面的代码连接到一个联系表格。提交时,您会收到两条消息之一。如何向这些消息添加 span 和 h1 样式?
<?php
if($_GET['message'] == "thanks") {
$message = "Message received! Thank you for contacting us.";
} else {
if($_GET['message'] == "wrongcaptcha")
$message = "We are having problems processing your message. The captcha code you entered was incorrect.";
}
?>
<div id="thankyoubox">
<p><?php echo $message?><p>
</div><!--end of thankyoubox-->
谢谢!