Added some carriage returns to make php easier to read when populating drop downs.
Made searchResults a hell of a lot shorter. Made it so that it does string concatenations to dynamically form the query around the passed in 'get' arguments.
Made a class for the input treating functions to avoid SQL injection, fixing booleans (that function may not be needed anymore - I didn't know what I was doing when I wrote it), and checking if something is an integer.
Made a class for the input treating functions to avoid SQL injection, fixing booleans (that function may not be needed anymore - I didn't know what I was doing when I wrote it), and checking if something is an integer.