Is it possible to find the no of days between two date fields.
i want to remove the user if user does not login within 30 days.
on every login login_date field will update.
i want to subtract two fields login_date and current_date
and if answer is 30 or greater than 30 it will delete that user.
i am new in php and need help..
i am working on localhost.
Hi try this function will get number of days between two dates.
thanks