Simple question

I would like to know what is the best way to do this…

I have a XML file with different Tip(15 in total) I would like to have a script that goes through the XML file and select one tip and put it on my intranet. Then the next day another tip goes and so on… It has to circle in the file like that. I do have SQL so I’m able to put the current Tip that I am displaying so that the next day I can select the next one.

So what to do PHP or Java

If PHP is the way to go, can someone help me out on doing such a script or just get me started and I’ll try to figure out the rest…

Cheers!!