Woo! That was awesome & easy.
Thanks a lot.
I have a another small doubt hope it can be solved here. :)
Well in everything is working fine now. Now in artwork_detail page al the data are shown perfectly, i have a nagivation panel which is like this:
<!-- portfolio nav -->
<ul class="portfolio-nav">
<li>
<a class="portfolio-prev" href="portfolio-item2.html">
<i class="fa fa-angle-left"></i>
<span>Prev</span>
</a>
</li>
<li>
<a class="portfolio-close" href="#">
<i class="fa fa-times"></i>
<span>Close</span>
</a>
</li>
<li>
<a class="portfolio-next" href="portfolio-item2.html">
<i class="fa fa-angle-right"></i>
<span>Next</span>
</a>
</li>
</ul>
<!--/ portfolio nav -->
So lets say a person is view a artwork_detail.php?id=1, if he click next it must take him to next id which is available & if he click prev then prev id! (ie in this case last id available like 32 in my case.)
Regards