繁体   English   中英

如何链接到我网站上除index.php之外的页面(其他所有页面均导致错误)?

[英]How to link to page other than index.php on my website (all other pages result in error)?

看来这很荒谬,但是从我的站点中,我不断收到链接到除index.php以外的任何页面的错误。 例如,

<p>No thanks, return to the <a href="index.php">home page</a>.</p>

可以正常运行,并在单击时加载http://example.com/index.php页面。 但是,两者

<p>No thanks, return to the <a href="thankyou.php">home page</a>.</p>

<p>No thanks, return to the <a href="http://example.com/thankyou.php">home page</a>.</p>

即使我可以直接在浏览器地址栏中输入地址http://example.com/thankyou.php ,也会导致错误*,即使它加载完美。

*错误消息是:

Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( ID int NOT NULL AUTO_INCREMENT, PRIMARY KEY(ID), timestamp int NOT NU' at line 1

您应该检查您是否在thankyou.php脚本或thankyou.php包含或要求的任何脚本中未创建表。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM