带url的超链接mysql字段 [英] Hyperlink mysql field with url

查看:218
本文介绍了带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

推荐答案

row ['pendhyper']中的inetpub \ www.root \illustration \pending \ index.php。 'htm'>。
row['pendhyper'] . 'htm' ">".


row ['pendhyper']。 < / A>< / TD> 中;
row['pendhyper'] . "</a></td>";





错误:意外'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字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆