emiliano Posted March 12, 2003 Share Posted March 12, 2003 hi... i'm trying to create a image gallery.. this is my sql query select * from table t, products p where p.product_id = t.products_id and t.record_id = $http_get_vars['id'] i try this $new_id = $http_get_vars['id'] + 1; tep_href_link(FILENAME_IMAGE_GALLERY, 'id=' " . $new_id .", 'NONSSL') but the problem is that it only adds 1 to the id, but sometimes the new_id don't match with the product_id that i'm looking for.. i'm being clear? what i'm looking for is to move to the next record.. but i cant do it! someone have done this? cheers emiliano patagonia, argentina Link to comment Share on other sites More sharing options...
Ajeh Posted March 12, 2003 Share Posted March 12, 2003 There is a contribution for Previous and Next ... needs a little tweaking but has the basics for what you are trying to do. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.