Page 1 of 1

Breadcrumb useing html variable

Posted: Sat Mar 14, 2009 10:38 pm
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

Re: Breadcrumb useing html variable

Posted: Sun Mar 15, 2009 2:02 am
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.