<?PHP
include main.PHP;
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css" />
<title>MySite</title>
</head>
<body>
<a id = "submit" href="submit.PHP">Submit</a>
<br />
<br />
<br />
<br />
<br />
<p id = "playing">Message</p>
<?PHP
getMessage();
?>
</body>
</html>
<?PHP
function getMessage()
{
echo "Test";
}
?>
但它并没有回应.为什么?
解决方法: