Jump to content

dates


pagegen

Recommended Posts

Hi guys,

 

I am trying to create a program which manages campaigns.

each campaign has a start date and and end date.

a user has to enter data releated to the campaign everyday

 

example

start date: 10-1-2011

end date: 17-1-2011

 

now all this information is stored in 2 tables

1st table is "campaigns" this stores the campaign name, start date and end date

and 2nd table is "campaign_data" this table stored the data for each campaign and also date of when that data was entered

 

my question is, if the user did not enter data on 11-1-2011 how will I know this, keeping in mind the month diffrence which can accur if the length of the campign was 2 month long?

 

 

table:

campaigns

fields:

id | campaign_name | start_date | end_date

 

table:

campaign_data

fields:

id | campaign_id | date | page

 

Thank you

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.