Ashmere Posted February 20, 2009 Share Posted February 20, 2009 hey guys, i was wondering if there was anyway to set a mysql feild to auto increase, not auto increment, say i wanted it to add 10 to the current value every 5 minutes. Hayden Link to comment https://forums.phpfreaks.com/topic/146158-mysql-auto-increasing-field/ Share on other sites More sharing options...
rhodesa Posted February 20, 2009 Share Posted February 20, 2009 not that i'm aware of. you could set up some scheduled script to increment them, but i think in this case, the best idea would be to use a DATETIME field and calculate the value when you need it Link to comment https://forums.phpfreaks.com/topic/146158-mysql-auto-increasing-field/#findComment-767342 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.