Breadcrumb useing html variable

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
textahead
Forum Newbie
Posts: 4
Joined: Sat Mar 07, 2009 10:43 pm

Breadcrumb useing html variable

Post by textahead »

ok heres my problem
I have 2 differnt sets of links each with vairiable included
IE
menu 1

Code: Select all

<a href=USA.php?state = texas> TEXAS </a>
<a href=USA.php?state = california> CALIFORNIA </a>
Menu 2

Code: Select all

< a href=USA.php?service = church> Churches </a>
< a href=USA.php?service = hospital> Hospitals </a>

when the first menu is clicked on it only dispalys the state but when the second menu is clicked on it displays both the sate and the service displaying it in the same manner as the breadcrumb trail at the top of this page "Board index » Programming » PHP - Code". Can anyone PLEASE help me to figure this one out? Im using SWITCH at the moment and can get one or the other menu to display its location but not both. Grrr Im going out of my head
User avatar
LanceEh
Forum Commoner
Posts: 46
Joined: Tue Feb 17, 2009 11:53 am
Location: Florida

Re: Breadcrumb useing html variable

Post by LanceEh »

I could recommend putting quotes around your links and removing any spaces.

Like this:

Code: Select all

<a href="USA.php?state=texas">TEXAS</a>
I'm a little confused about the rest of the question.
Post Reply