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.

thanks.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.