Welcome Guest, Not a member yet? Register   Sign In
How to...Free trial...
#2

personally i would make a column on the database `disabled` and set it be default to be 1 or true (probably ENUM() with true, false, trial). Because i like working with MySQL Routines (procedures) i would make it so every 1 hour updates all the rows (users) where the `disabled` is trial and the date joined (datetime) is greater than 30 days. Not sure if this is the best way.
Reply


Messages In This Thread
How to...Free trial... - by LeMec - 10-29-2014, 11:15 AM
RE: How to...Free trial... - by FlevasGR - 10-30-2014, 04:39 AM
RE: How to...Free trial... - by no1youknowz - 10-30-2014, 09:51 AM
RE: How to...Free trial... - by LeMec - 10-31-2014, 07:53 AM
RE: How to...Free trial... - by bclinton - 12-12-2014, 05:03 PM
RE: How to...Free trial... - by Shawn P - 10-31-2014, 09:57 PM
RE: How to...Free trial... - by mwhitney - 12-12-2014, 02:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB