URL Problem

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
devender
Forum Newbie
Posts: 1
Joined: Sat Sep 13, 2008 12:40 am

URL Problem

Post by devender »

Hi all

Iam working on a site which is a copy of travel.bc.ca. When we open travel.bc.ca ,On home page of this site we have a Left Menu whose heading is "Travel Directory" . When we click on any link on this left menu like accommodations we get a Url http://www.travel.bc.ca/accommodations/
This is Ok I know i have to do some changes in .htaccess to get this URL.

Now next is my problem . In the header of this site we have a text 'Im looking for' plus two drop downs and a go button .

Next when we select some value from second drop down which is a City drop down and press go button button, Url of site changes to like this one http://100-mile-house.travel.bc.ca/ here 100-mile-house is the city name and travel.bc.ca is the name of site . Iam not getting how to code to make this type of URL.


Regards
dsingh
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: URL Problem

Post by panic! »

Post Reply