corillo181 Posted June 16, 2006 Share Posted June 16, 2006 alright so i have links on pictures.. the only thing is that i got those picture sin different pages.. like 16 pictures divaded by 4.. so is 4 pages..the problem is that i got it set up so when someone click on th epictures it show th epicture in full size..now i'm using this to link the picture..[code]<a href=\"cfv.php?m=".$info['cotm_id']."&p=$i\">[/code]on the big picture i got this query[code]$query2=mysql_query("SELECT path,photo_id FROM tra_cotm_photo WHERE cotm_id='".$_GET['m']."' ORDER BY photo_id DESC LIMIT $cut,$max_pic")or die(mysql_error());[/code]now th eonly proble is that only on my first page the pictures show up.. like the first four pictures shows.. then if someone click on the next page and click on any picture, it show the person one of the four first pictues.. like if the person click on the second picture of page 2, it shows the second picture of page 1.. if the person click on photo 4 from page 2, it shows the 4th photo of page one.. and its jus tlike that only shows the first page of picture in big..does any one understand? Quote Link to comment https://forums.phpfreaks.com/topic/12119-links/ Share on other sites More sharing options...
joquius Posted June 16, 2006 Share Posted June 16, 2006 should the link not be the photo_id if possible? what's cotm_id?Can you post the html output of the links from both pages? Quote Link to comment https://forums.phpfreaks.com/topic/12119-links/#findComment-46189 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.