Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Database for website..... or probably not!

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am looking for some ideas on how to do this and pointers to books or web resources here.
I have two lists "A" and "B", where for every value of A there is a value of "B". I want to set up a small search facility on my website. Just a little thing where for every value of "A" chosen, the corresponding value of "B" should be displayed.
How do I do this? Set up a database or flat file ? Either way, what tools are recommended and how to set this up? Do help!
 
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do by Javascript using arrays. But if the number of records are large then whole records should be loaded at front end rt? Then the page loads slow. In that scenario serailze the data and then deserilze it.
Another option when the user selects frm the frst select box send that to the DB, then query it and load the same page with the second select box
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic