ABI*_*ABI 2 php mysql hyperlink
我试图将这样存储在mysql中的URL显示为php表中的链接
echo "<td><a href=".$row['resume'].">Resume</a></td>";
其中$ row ['resume']使用mysql_fetch_array检索正确的数据
但是文件链接之间的空格会自动截断
例如我的文件名是"这是一个resume.doc"我只在链接中得到"this"
救命.
And*_*ewR 6
您需要在href属性周围加上引号.
echo "<td><a href=\"".$row['resume']."\">Resume</a></td>";
归档时间:
14 年,4 月 前
查看次数:
99 次
最近记录: