onthespot Posted January 29, 2010 Share Posted January 29, 2010 I'm very average at PHP and im looking to introduce time to something on my site. Its a sports site and everyone has fixtures. I have them so they are created and put into a table, what I now want to do is release one round of fixtures every 4 days automatically. Does anyone have any suggestions to carry this out? Link to comment https://forums.phpfreaks.com/topic/190176-using-real-time-in-php/ Share on other sites More sharing options...
wee493 Posted January 29, 2010 Share Posted January 29, 2010 I'm very average at PHP and im looking to introduce time to something on my site. Its a sports site and everyone has fixtures. I have them so they are created and put into a table, what I now want to do is release one round of fixtures every 4 days automatically. Does anyone have any suggestions to carry this out? I don't understand what you're trying to do. Could you please try to describe it differently or provide some examples? Link to comment https://forums.phpfreaks.com/topic/190176-using-real-time-in-php/#findComment-1003381 Share on other sites More sharing options...
schilly Posted January 29, 2010 Share Posted January 29, 2010 set a cron to check every 4 days? Link to comment https://forums.phpfreaks.com/topic/190176-using-real-time-in-php/#findComment-1003382 Share on other sites More sharing options...
onthespot Posted January 29, 2010 Author Share Posted January 29, 2010 Ok so I have a fixture list for a sports league table. I have an algorithm that produces the fixtures and puts them into a table in the DB called FIXTURES. How can I then order those fixtures by rounds and put dates on them. I cant think of a way. Link to comment https://forums.phpfreaks.com/topic/190176-using-real-time-in-php/#findComment-1003385 Share on other sites More sharing options...
wee493 Posted January 29, 2010 Share Posted January 29, 2010 Ok so I have a fixture list for a sports league table. I have an algorithm that produces the fixtures and puts them into a table in the DB called FIXTURES. How can I then order those fixtures by rounds and put dates on them. I cant think of a way. Now I understand what your trying to do, but I don't know how you database is layed out so I cant really make a mock-up script. Link to comment https://forums.phpfreaks.com/topic/190176-using-real-time-in-php/#findComment-1003388 Share on other sites More sharing options...
onthespot Posted January 29, 2010 Author Share Posted January 29, 2010 What would you need me to provide? Link to comment https://forums.phpfreaks.com/topic/190176-using-real-time-in-php/#findComment-1003389 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.