You can put use a url parameters to pass the image with teh each page liek xxx.php?img=1 like that or u can use a SESSION array to store image id and process user *array_push() and **array_pop() with session arrays to get teh latest image id its a brief expernation you can work with it and let em knwo if anything u need further * On Thu, Apr 24, 2008 at 1:25 AM, Umer Talha <umer.zuberi@xxxxxxxxx> wrote: > DISPLAY IMAGES > i need to display one image per page and when i click next the next image > open and click on previous the previous one image open using PHP ... > > m attaching my existing code please recode it for better desire outcome > thanks > > reagrds > YouTee > > Regards > Umer Talha (UT) > 0322-2848142 > 0345-3822586 > > __________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]