crmamx Posted March 12, 2011 Share Posted March 12, 2011 html or php? Don't know. I go from my menu.php to home.php with this statement? <li><a href="index1.php?page=home">Home</a></li> Now I am viewing home.php and from that I want to link to coveringaplame.php. This doesn't work. <a href="<?php include("index1.php?page=covering"); ?>">Here is an article</a> Neither does this: <a href="index1.php?page=coveringaplane">Here is an article</a> With this one I get this error: Parse error: syntax error, unexpected ';' in /home/bayare27/public_html/content/pages/coveringaplane.php on line 3 At a loss as usual. Quote Link to comment https://forums.phpfreaks.com/topic/230422-cant-get-a-link-to-work/ Share on other sites More sharing options...
gristoi Posted March 12, 2011 Share Posted March 12, 2011 <a href="index1.php?page=coveringaplane">Here is an article</a> is correct. The error you are getting is telling that you have a syntax error on or before line 3 of your coveringaplane.php script. can you post the first few lines of the coveringaplane.php script Quote Link to comment https://forums.phpfreaks.com/topic/230422-cant-get-a-link-to-work/#findComment-1186632 Share on other sites More sharing options...
crmamx Posted March 12, 2011 Author Share Posted March 12, 2011 Damn! <?php> ?> I believe I see the error. I did not even look at coveringaplane.php because I just knew there could not be an error there. Thanks a million. Quote Link to comment https://forums.phpfreaks.com/topic/230422-cant-get-a-link-to-work/#findComment-1186753 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.