• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
a wee bit from the empire
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic