嗨,当我运行整个项目代码时,我收到意外启动标记(正文)的错误。它在身体线上显示错误
?>
<html>
<body>
<form method="GET" action="<?php echo $client->getRequestUri();?> ">
<input type='submit' name='start' value='Start'/>
</form>
</body>
</html>
<?php
答案 0 :(得分:0)
删除标签,除非您要回显出所有其他标签
<html>
<body>
<form method="GET" action="<?php echo $client->getRequestUri();?> ">
<input type='submit' name='start' value='Start'/>
</form>
</body>
</html>
OR
<?php
echo "<html>
<body>
<form method='GET' action=".$client->getRequestUri().">
<input type='submit' name='start' value='Start'/>
</form>
</body>
</html>";
?>