Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking in PHP 2

Status
Not open for further replies.

Enkrypted

Technical User
Sep 18, 2002
663
US
I'm pretty new to PHP, but have seem to pick up the basics pretty quick. I'm currently working on a site and have run into some linking issues. I have a menu on the left side of the site with several links. What I would like to happen is to have a different message appear when you click on the corresponding link. The following are examples of what I would like to have done:

Please forgive the image names. I realized I mislabeled them after I already uploaded them and was too lazy to log back in to change them.

(This is the main site page)

(This is the mission statement page)

(This is the services offered page)

I'm currently using Sommaire v.21 as my menu editor. Please let me know if there is an easier, better way to go about doing this. If you have any other questions, let me know.

Enkrypted
A+
 
Yeah, that would definetly take care of that problem. Thanks for the input on that. However I just realized that this doesn't seem feasible due to the fact the messages are all based on one particular .php page (index.php I believe). If I create a message for one page, it will duplicate over to the other pages as well. I don't think I can create several messages and link them to separate .php files. I noticed when creating new messages that it gives them a name of MID (I'm assuming that stands for message ID), but I'm not sure how to go in and code the messages to appear on one page but not the other. Maybe I'm putting too much work into this, but I'm not sure of any other way to do this.

Enkrypted
A+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top