I've been knocking my head over this for some time. Here is what I have...
a table contianing information for a library. set up with : title, author, pub. ( all varchar input by a form - these three are input from textfield ), then I have : mediatype and subject columns that are ( char, input by radio buttons so I know what is being input... for mediatype only "Book or Textbook or Magazine" is being input in the column ) ...What I am trying to do is display rows in the database by title from a query - easy.
What I'm having trouble with is calling for specific data. I want users to be able to query the db for two conditions:
1. from a form with radio buttons for all the mediatypes, so the click the book button,then..
2. for a key word in the db for any rows ( books only!) that contain the key word.
I also am having trouble displaying all rows that are books.
I wouldn't be having this problem if I made all the media types their own columns in the db, but I didn't.
Is this where Assoc_array comes in?
I've been searching tutorials, books, all over for an example of this, but to no success.
Help
