html - How to link to page other than index.php on my website (all other pages result in error)? -
it seems absurdly basic, keep getting errors linking page other index.php within site. example,
<p>no thanks, return <a href="index.php">home page</a>.</p>
works fine , loads http://example.com/index.php
page when clicked. however, both
<p>no thanks, return <a href="thankyou.php">home page</a>.</p>
and
<p>no thanks, return <a href="http://example.com/thankyou.php">home page</a>.</p>
result in error* when clicked, though can go enter address http://example.com/thankyou.php
directly in browser address bar , loads perfectly.
*the error message is:
invalid query: have error in sql syntax; check manual corresponds mysql server version right syntax use near '( id int not null auto_increment, primary key(id), timestamp int not nu' @ line 1
you should check not creating table in thankyou.php script or in script thankyou.php includes or requires.
Comments
Post a Comment