Jump to content

Can't get a link to work


crmamx

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.