Jump to content

Need help for dynamic display of coupons


shamnadks

Recommended Posts

I have developed a script for dynamic display of coupons, for a client. Explanation: There is an index.php page that contains a text link. when we click on the link at the first time, a coupon name (say coupon1) should be shown in a pop up window and at the same time another page (page3.php) should be called in place of the parent window. There is a coupon list (coupon_list.txt) which contains 10 coupons. After displaying coupon1, it should be removed from the coupon_list.txt file, so that when the user clicks on the link in the second time, coupon2 should be displayed.

 

I have developed a php function(pop.php) for this purpose. My problem is that it is working perfectly in Mozilla FireFox and Google Chrome, and also in local machine. But it is not working properly in Internet Explorer (but in local machine it is working properly in IE). That means if we click back from page3.php to index.php and again clicking in the link, it shows the same coupon (coupon1) instead of coupon2.

 

I am not able to solve this problem. Please help me.

 

I am attaching here with the index.php file, pop.php file, page3.php file and coupon_list.txt file.

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.