calliepeck
01-12-2009, 11:10 PM
Hi all,
So I'm generally a PHP coder and ASP VBscript screws with my head. I can't for the life of me figure out how to do a search across multiple tables and then sort that result by date. Specifically, I am searching press and events. The table fields don't necessarily correspond and they will display differently in the search. I'm losing my mind.
My thought was to do two separate queries and then combine the results into a multidimensional array (actually using ArrayList class to easily add values). Each entry would be its own definition, which I understand to be the equivalent of an associative array. Of course, I am having no luck sorting that by key. I can give you my code for that, but I figure there's probably a better way to do this whole thing anyway.
Any help would be terribly appreciated,
Thanks!
So I'm generally a PHP coder and ASP VBscript screws with my head. I can't for the life of me figure out how to do a search across multiple tables and then sort that result by date. Specifically, I am searching press and events. The table fields don't necessarily correspond and they will display differently in the search. I'm losing my mind.
My thought was to do two separate queries and then combine the results into a multidimensional array (actually using ArrayList class to easily add values). Each entry would be its own definition, which I understand to be the equivalent of an associative array. Of course, I am having no luck sorting that by key. I can give you my code for that, but I figure there's probably a better way to do this whole thing anyway.
Any help would be terribly appreciated,
Thanks!