Hi,
I am currently trying to implement some RSS feed creation stuff which is causing me some problems so I have decided to rethink my plans and have came up with the following idea.
I want to fish data out of my MySQL database and dump it into an XML (RSS) file. This in itself is probably easy enough and I have got some help on here with that before. However, I will need some way of ensuring that the RSS feeds remain in sync with the database. Is it possible therefore to run a certain PHP script to dump the database into an XML file ONLY when an update or insert is performed on a table within the database? I have looked at triggers before using JDBC but not sure how MySQL works with them.
If anyone understands this and has an answer I'd appreciate it.
Cheers
I am currently trying to implement some RSS feed creation stuff which is causing me some problems so I have decided to rethink my plans and have came up with the following idea.
I want to fish data out of my MySQL database and dump it into an XML (RSS) file. This in itself is probably easy enough and I have got some help on here with that before. However, I will need some way of ensuring that the RSS feeds remain in sync with the database. Is it possible therefore to run a certain PHP script to dump the database into an XML file ONLY when an update or insert is performed on a table within the database? I have looked at triggers before using JDBC but not sure how MySQL works with them.
If anyone understands this and has an answer I'd appreciate it.
Cheers