Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7052153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:20:58+00:00 2026-05-28T03:20:58+00:00

I am developing a membership system where user will pay for next 11 months

  • 0

I am developing a membership system where user will pay for next 11 months from date joined on, my db structure as follows…

members table

| id | name   | email         | joined_on  | expire_on  |
+-------------+---------------+------------+------------+
|  1 | tester | test@test.com | 2012-01-09 | 2012-12-09 |
+----+--------+---------------+------------+------------+

I really need yours help with following…

I will run a cron job monthly/weekly, i would like to send payment reminder to users for monthly installment, what mysql query/php function should i use?

how to ensure if somebody didn’t miss any payment, or how can i mark payment? thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:20:59+00:00Added an answer on May 28, 2026 at 3:20 am

    Make another table called payments which has
    – id of payment
    – userid of user
    – date they last paid
    – length of payment

    Then, to check when a user’s set to expire,

    SELECT date+length as expy FROM payments WHERE userid = $userid ORDER BY date DESC LIMIT 1

    Store dates & lengths as unix time (number of seconds). If time > expy then their subscription is expired.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developing a network that uses membership. I have a couple of stories that
I am developing an ASP.NET MVC app with custom membership and role providers. My
I'm developing an ASP.NET system that has two different 'tiers' of roles. The main
I'm developing a website using Facebook Connect as the only membership/authentication mechanism. So far
I'm developing a membership sign up app for an organization on Google App Engine,
I am developing asp.net mvc2 application and I use asp.net membership provider which uses
I'm developing ASP.NET 4.0 Website using SQL server 2008 with Membership Framework. It runs
I'm developing an iPad app that will be distributed in-house using the Enterprise Program
I am developing an asp.net mvc application and have created my custom user database
We are developing an Iphone app that will talk to the ASP.net MVC 3.0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.