1,105,169 Community Members

Using cookies values load iframe

Member Avatar
muralikalpana
Posting Pro
549 posts since Sep 2009
Reputation Points: 17 [?]
Q&As Helped to Solve: 36 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
phper
Posting Whiz in Training
209 posts since Nov 2006
Reputation Points: 9 [?]
Q&As Helped to Solve: 19 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article