Jump to content

links


corillo181

Recommended Posts

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?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.