这是我的代码,但是当我尝试运行它时,我收到一个错误说,
"Parse error: syntax error, unexpected 'src' (T_STRING), expecting ',' or ';' in H:\xampp\htdocs\teacher\page1.php on line 33"
代码如下所示:
echo "<div id = 'Image1'>"
<img src='path/to/Desert.jpg' alt='photo of me' />"</div>";
echo "<div id = 'Title'>". $output['Title'] . "</div>";
echo "<div id = 'Initials'>" . $output['Cipher']."</div>";
echo "<div id = 'LastName'>" .$output['LastName'] . "</div>";
echo "<div id = 'Level'>".$output['SaleryLevel'] . "</div>";
答案 0 :(得分:0)