ok I changed the code to what you gave me but now it goes to the details page but the page is blank also can you tell me what lines need to get moved up to the doctype tag to remove the error messages? and there is also code now showing up on the results page... Also i fixed the next buttons but are the other buttons the same code if not can you let me know what they are? and the search results will not show up on ie only on firefox