Jump to content

Creating Free vs Full Registration tables


sergeidave

Recommended Posts

Hi guys,

 

I'm very new on both, here at the forum and new using mysql/php.

I'm working on a website and I have a question about creating the users/members table.

You know that many (if not most) websites offer both, free registration and full registration (fee subscription). What is the most common/efficient way to handle this dual-option registration process? Is it just one big table with a "Membership_type" column to differentiate?

Or should this be stored in two different tables (one for free registrations with the basic username-password-email stuff and another for paid membership with more fields like name, lastname, address, city, zip, phone, etc.)?

Thanks for your help!!

 

Link to comment
Share on other sites

If both types of registrations in a single table then only username password and email would be "not null" and the rest of the fields "null", right? But how about a scenario like this:

Some guys registeres for free and after a couple months decides to go full membership. At the time of full registration I would like to have the rest of the fields complete (name, last, address, phone, etc.). How can I make the database accept a full registration only if ALL of the remaining fields contain valid data?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.