Php 如何在回音行中放置超链接?
我试图在PHP的Echo行中添加超链接,但它显示了如下语法错误:Php 如何在回音行中放置超链接?,php,Php,我试图在PHP的Echo行中添加超链接,但它显示了如下语法错误: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/content/48/11655748/html/display_comments.php on line 29 我的代码是: echo "<div style='margin:30px 0px;'> <table>
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/content/48/11655748/html/display_comments.php on line 29
我的代码是:
echo "<div style='margin:30px 0px;'>
<table>
<tr>
<td>Resume :"<a href=http://testing.com/wp-content/uploads/rsjp/attachments/>$attachment</a>"</td>
</tr>
</table>
</br>
</div>";
echo”
简历:“
";
请帮帮我,伙计们……我不知道这有什么不对……实际上我是PHP新手。你们有多余的引号。应该是:
echo "<div style='margin:30px 0px;'>
<table>
<tr>
<td>Resume :<a href='http://testing.com/wp-content/uploads/rsjp/attachments/'>$attachment</a></td>
</tr>
</table>
</br>
</div>";
echo”
简历:
";
您有多余的引号。应该是:
echo "<div style='margin:30px 0px;'>
<table>
<tr>
<td>Resume :<a href='http://testing.com/wp-content/uploads/rsjp/attachments/'>$attachment</a></td>
</tr>
</table>
</br>
</div>";
echo”
简历:
";
您有多余的引号。应该是:
echo "<div style='margin:30px 0px;'>
<table>
<tr>
<td>Resume :<a href='http://testing.com/wp-content/uploads/rsjp/attachments/'>$attachment</a></td>
</tr>
</table>
</br>
</div>";
echo”
简历:
";
您有多余的引号。应该是:
echo "<div style='margin:30px 0px;'>
<table>
<tr>
<td>Resume :<a href='http://testing.com/wp-content/uploads/rsjp/attachments/'>$attachment</a></td>
</tr>
</table>
</br>
</div>";
echo”
简历:
";
为什么你的文本编辑器没有告诉你出了什么问题?为什么你的文本编辑器没有告诉你出了什么问题?为什么你的文本编辑器没有告诉你出了什么问题?为什么你的文本编辑器没有告诉你出了什么问题?href=应该对其值使用单引号I thinkhref=应该对其值使用单引号I thinkhref=应该使用单引号I thinkhref=应该使用单引号它的值的引号I thinkhref=应该有单引号