我一直在尝试通过使用引号来调解此错误,但由于某种原因,我无法通过错误。
这是我的代码:
<form action='finish.php?id="<?=$row['session_id']?>"' method='post'>
<textarea name='counselorcomments' rows='10' cols='50' placeholder='Please make sure to finish session before logging out! Also please be short and consise with your comments!'></textarea>
<input type='submit' name='finish' value='Finish Session'>
<input type='submit' name='additional' value =' Additional Counseling Needed'>
</form>
这是错误:
PHP Parse error: syntax error, unexpected $end in /var/www/DBFinaid/NewDBLogic/counselor.php on line 108, referer: Https: my test server 。com!
我知道这个问题源于我对单引号和双引号的低水平理解,所以如果我可以请求是否有一个链接,我可以在哪里开始引用引号,那就太棒了。