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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -