![]() |
display date - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: display date (/showthread.php?tid=36372) |
display date - El Forum - 11-29-2010 [eluser]diasansley[/eluser] i am facing the following problems * I have designed coupons on the front page with a from date and a to date. *the coupons table has a from field and a to field. now by default it prints from 0000-00-00 00:00:00 to 0000-00-00 00:00:00 now my problem is if a change the to date in the database and refresh the page the coupon doesnt show. ill paste the model code here Code: function getCouponsToFrontpage($count) thanks display date - El Forum - 11-30-2010 [eluser]InsiteFX[/eluser] You need to show more code! How our you refreshing the page etc. Controller code. View code. InsiteFX display date - El Forum - 11-30-2010 [eluser]diasansley[/eluser] refreshing is a normal page refresh.. no code as such but when i change the data in the database the coupon is not displayed. Thanks |