I need a script created to display user images. This is how it needs to work.
There are two tables:
The first has member info
the second has photo info
I need this script to pull the latest 4 people that have joined the site(it already does this but displays a generic picture) I need it to pull from the photos table and get the main image that the user displays on their profile and display it on the this page. if they don't have an image then you it will display an image based on gender.
You can PM to see the page. This is actually pretty easy