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
Share on other sites

<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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.