adzie Posted January 25, 2009 Share Posted January 25, 2009 Hello folks, Is it possible to create an entry in my DB and set a script to run every 2 hours update an entry. ie if in a row I had a field called activity, could I put an entry in and then every 2 hours add to that entry with some seperator to be able to differentiate between the different entries? thanks Link to comment https://forums.phpfreaks.com/topic/142392-multiple-updates-to-row-entry/ Share on other sites More sharing options...
Mchl Posted January 25, 2009 Share Posted January 25, 2009 Storing multiple values in in one field is not the best design (actually, it's pretty bad). You should create a separate table for those activities and every two hours insert a row into it. As to scheduling repetitive task like this, the best way is to use a cron job (if it is supported on your host) Link to comment https://forums.phpfreaks.com/topic/142392-multiple-updates-to-row-entry/#findComment-746055 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.