![]() |
Problem with php 5.2 and DATE_SUB - 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: Problem with php 5.2 and DATE_SUB (/showthread.php?tid=55667) |
Problem with php 5.2 and DATE_SUB - El Forum - 11-05-2012 [eluser]Unknown[/eluser] Hi there I am trying to build soccer website for friend of mine. I use Joomla 2.5 and also i use component joomsport pro 2.5 to create standins, schedule and players. In joomsport pro component when you click on schedule it will show all matches created for that season I would like to be able to edit to show only matches in next 5 days. I posted a topic in there forum and somebudy try to help me and give me a php a code but i have php 5.2 and that php code will not work with php 5.2 http://joomsport.com/component/agora/topic.html?id=2779&p=1&lang=en#p9430 Here is a php code that will work with php 5.3 and later AND m.m_date > DATE_SUB(NOW(), INTERVAL 7 DAY) AND m.m_date < NOW() This php code will not give any matches, just empty page where matches suppost to be How i can edit that php code that will work with php 5.2 Any help please Thanks Problem with php 5.2 and DATE_SUB - El Forum - 11-05-2012 [eluser]CroNiX[/eluser] Do you have a question related to CodeIgniter? |