so now lets say from artists.php i choose artist 1,
and i can see his artworks (lets call its artwork ids as: 7,9,10)
now when i click artword id 7, it take me to artwork-details.php?id=7
on clicking next button in artwork detail page, it must take me to next artwork of the same artist. ie: artwork-details.php?id=9.
and not 8.
artwork id 8 belongs to some other artist so.
How do we do that?
some changes required in a href?