Can anyone tell me, how to make a script that gives all information about some items (books, for example), that share some common criterium by which we pick them. For example, if we have categories: "author, title, year", if common criterium is "Shakespeare", it outputs, for example:
Shakespeare, Romeo and Juliet, 1960
Shakespeare, Hamlet, 2001
etc.
I undersand it is simple, but I am beginner. Should I use arrays, and how? Excuse my poor Englih.
Thanks in advance!

