PDA

View Full Version : Using a form to search an array



ekrabbe
17 Feb 2013, 08:10 PM
Hi everyone,

I'm rather new to making websites, but quite familiar with programming with languages such as C++, Python and Java. I've read a lot of tutorials on HTML forms so far, all including more or less the same information.

I have a form with a few different input types. What i need to do is to have my form/submit button search an array dependent on what has been input to the different input types.

Afterwards a table must be loaded showing those values or keys from the array which are relevant to the search.

Currently I've set everything up graphically, I do however not know how to use the action=" " tag to search the array on my site and show relevant values/keys.

Any help/tips would be appreciated - thank you.

Emil