please note that the code needs to be able to be put between a set of divs, and I will need multiple instances of the same code, but with different categories, on the same page.
Try the “associated posts” plugin.
I used this when I created cigarsuckers.com
Check it out and see if it is what you are looking for.
If so, here is the link to the plugin…
http://wpplugins.com/plugin/247/associated-posts-pro/
Good luck!