That gives me the same exact results. I think I didn't explain what I am trying to do well enough, if you look at the example at indexalt.php you can see at the top of the page the ratings and the pages I am trying to display underneath the ratings. However the image displayed is the first one that was entered into the database for the comic being rated. I would like to have it so every time someone rates a page of a comic it changes the image on the indexalt page to the latest page rated. It works in the database as far as being uploaded with the proper URL but I can only get the first page URL entered into the database IE the first page rated to be the one that is getting displayed. Everything else is working fine the way I want it to.