Populating a Combobox From an xml file

User 366869 Photo


Registered User
5 posts

Ok...this one has me stumped and any help would be appreciated...

I want to use and html combox box that is populated from an xml document. And when an item is selected, it is a link to another page....

i would rather change or update one xml file that update 50 pages for one combo box....

Any help would be awesome....

Thanks,

Steve
If I ain't building a website.....then I am fishing.....
User 184085 Photo


Ambassador
1,707 posts

me thinks this is a job for "include virtual"
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 501038 Photo


Registered User
3 posts

ok.......so where do I start if I wanted something similar to this example?

http://www.acwilgar.co.uk/quote1.asp?p=001

I want a basic online 'quoting system' - also each time the user selects a menu option, a new 'menu of options' will be presented (dependent on the previous selection).

Am I talking jibberish?
User 501038 Photo


Registered User
3 posts

Should have said I have a comprehensive excel spredsheet and would hope to convert this some how,
User 131437 Photo


Ambassador
151 posts

I love coffeecup software but I think for this you will want to consider utilizing custom client side scripting like javascript (this could get very messy and some users have set their browsers to not display), or server side logic (much neater and stable).

If coding or scripting doesn't sound like your thing. It might be possible to have one menu with the main options and then several pages with tables for comparing options.

Alternatively, if you are on a very tight budget and have lots of time you can create a dynamic menu with links (DHTML menu builder, or the Flash menu builder) and then a new page for each option with new dynamic menus for each additional set of options. I really don't recommend this because it would not be fun when the time comes to make any changes.

I'm a Microsoft fan so if I were doing this I'd use asp .net, AJAX, and C#.:D However, everyone has an opinion and lots of the world will disagree with me on that.:mad:
Visit <a href="http://leviabbott.com" target="_blank">LeviAbbott.com</a>!
User 364143 Photo


Guest
5,410 posts

Well you can import the Excel spreadsheet into a MySQL database using phpMyAdmin and have some PHP code handle the functions to retrieve the data for the combo boxes and form. It really is a job for a developer or you can hack your way through it. :)
CoffeeCup... Yeah, they are the best!
User 501038 Photo


Registered User
3 posts

Thanks for the tips people...........I am a novice and although Coffeecup does make life easy, I too think I might be stretching myself.

I'll stick to repairing boilers and call in the professionals.

:-)

Dan

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.