Page 1 of 1

Dropdown list - generate URLS

Posted: Tue Jul 22, 2008 9:31 am
by iSleek
Hey there!

I don't know much about PHP coding, but I have a "simple" (on my mind) question, or request.

I'm building a webpage with three frames. The top frame will have two drop down lists including the same information (name and lastname of people in a company) in both. The idea is to select two different people and then click on a button which will generate a URL given the clicked name (after clicking on a "Generate" or "Go" button, etc).

So basically, I have the Name Lastname format stored on a file. It's a list of about 50 people.

The thing is that in the drop down menu, it would appear (ie) "John Smith", but when generating the URL, it should be "john.smith". So, when clicking on "Go", the URLs should be displayed on each one of the bottom frames (remember I had 3 frames?) so that one can compare between the two chosen names (it will display a calendar for each one of those people).

Now the questions: 1) is this doable in PHP? if so, how? :D 2) Does the drop down menu "list" have to be on a separate file? Should I make a webpage out of it? Should I combine both "John Smith" and "john.smith" format in one page, file? If so, what file type?

Well thanks a lot in advance for the help!!!!


iSleek