Start New Discussion within our Web Development Community

i have one cookie. in this i stored all urls. now i want to display these urls in iframe. but i have only one iframe in a page. for this now i want to put <next> and <prev> buttons to go next url. i was done this using jquery but it is necessery to display using php only.

could you please give me an idea.


Store the URL's in the cookie as an array. Then when you click on the NEXT or PREVIOUS link you can add or increment 1 to the current array position.

This article has been dead for over six months. Start a new discussion instead.