swipe php page
swipe php page
I have a mobile website that extracts data from a mysql database. There are categories which contain photographs. Basically the photographs are numbered.
As a last page I have a page where one photograph is displayed full width. I have a session variable in this page holding the array of photographs so the number of the next and previous photo is known. IIf there had to be a button to go to the php file with the next photo I would call the page again with a request variable holding the next number.
But now I want to swipe to the next photograph/detail.php file. Can I just give the name of the file detail.php?id= $nextnumber to go to the next page? I do not understand completely the example code for swiping.