Auto Updating App?
The app I plan on making will have a featured "item" for each day. Every new day, the item changes. Such as, day 1, "item" is "Apple". Day 2, "item" is "Orange". Day 3, "item" is "Pear", and so on. With each new day, I want to change the value of "item" and the databases that go with it, MySQL databases.
I was planning on having the app check if the current item is equal to what the item should be, and if it isn't, then updating the MySQL databases, but I think that could be prone to attack. The only other option I can think of is myself going on my site each day and updating the item manually. Is there any way to update (delete the info from) MySQL databases once a day, automatically?
Thanks for any tips.
|