本文介绍了带url的超链接mysql字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄清楚为什么这条线不起作用。基本上我想从html表到pendhyper字段(从mysql中提取)指向link \pendhyper.htm



我尝试过:



Hi, I am trying to figure out why this line doesn't work. Bascially I want to pendhyper field (pulled from mysql) from html table to point to link\pendhyper.htm

What I have tried:

echo "<td><a href="C:\illustration\pending\html\ . $row['pendhyper'] . 'htm' ">". $row['pendhyper'] . "</a></td>";





错误:意外'C'(T_STRING),期待','或';'在C:\中第87行的



Error: unexpected 'C' (T_STRING), expecting ',' or ';' in C:\inetpub\wwwroot\illustration\pending\index.php on line 87

推荐答案






错误:意外'C'(T_STRING),期待','或';'在C:\中第87行的inetpub \ www.root \illustration\pending \ index.php



Error: unexpected 'C' (T_STRING), expecting ',' or ';' in C:\inetpub\wwwroot\illustration\pending\index.php on line 87


echo "<td><a href="C:\illustration\pending\html\ .


这篇关于带url的超链接mysql字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 22:31