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. 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 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. 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
Archived
This topic is now archived and is closed to further replies.