flexcube Posted September 11, 2011 Share Posted September 11, 2011 I´m trying to write a php script which compares the old schedule (1) with the new one (2). And outputs if classes have been dropped, and if so, which classes. As you can see on the new schedule one hour is dropped as highlighted in red. I tried using text diff but I didn't got it to work How do I compare the schedules (HTML) and output the dropped classes? Or in which direction should i look for a solution ? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/246922-php-schedule-comparision-solution/ Share on other sites More sharing options...
flexcube Posted September 12, 2011 Author Share Posted September 12, 2011 Is there a way to describe my question better ? Or can you redirect me to a place where somebody can answer my question ? Quote Link to comment https://forums.phpfreaks.com/topic/246922-php-schedule-comparision-solution/#findComment-1268264 Share on other sites More sharing options...
silkfire Posted September 12, 2011 Share Posted September 12, 2011 Where do you get the schedule from? Is it your own project? You need to create some kind of array based on comparison of array (schedule) 1 and 2. Quote Link to comment https://forums.phpfreaks.com/topic/246922-php-schedule-comparision-solution/#findComment-1268294 Share on other sites More sharing options...
flexcube Posted September 12, 2011 Author Share Posted September 12, 2011 The schedule is from my school, it is not my own project. Otherwise I could have output it much easier. Instead I have to request the url and then save it to HTML to compare it. Quote Link to comment https://forums.phpfreaks.com/topic/246922-php-schedule-comparision-solution/#findComment-1268321 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.