Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在回音行中放置超链接?_Php - Fatal编程技术网

Php 如何在回音行中放置超链接?

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>

我试图在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>  
                 <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=应该有单引号