Jump to content

[SOLVED] Need a calendar form thing...


iPixel

Recommended Posts

Long story short...

 

I have 2 arrays which hold the month-day of 2008.

 

$_SINGLE['08'] = array ('04-01','04-02','04-03','04-04','04-05','04-06','04-07','04-08','04-09','04-10','04-11','04-12','04-13','04-14','04-15','04-16','04-17','04-18','04-19','04-20','04-21','04-22','04-23','04-24','04-25','04-26','04-27','04-28','04-29','04-30','05-01','05-02','05-03','05-04','05-05','05-06','05-07','05-08','05-09','05-10','05-11','05-12','05-13','05-14','05-15','05-16','05-17','05-18','05-19','05-20','05-21','05-22','05-23','05-24','05-25','05-26','05-27','05-28','05-29','05-30','05-31','06-01','06-02','06-03','06-04','06-05','06-06','06-07','06-08','06-09','06-10','06-11','06-12','06-13','06-14','06-15','06-16','06-17','06-18','06-19','06-20','06-21','06-22','06-23','07-11','07-12','08-02','08-08');

$_DOUBLE['08'] = array ('04-01','04-02','04-03','04-04','04-05','04-06','04-07','04-08','04-09','04-10','04-11','04-12','04-13','04-14','04-15','04-16','04-17','04-18','04-19','04-20','04-21','04-22','04-23','04-24','04-25','04-26','04-27','04-28','04-29','04-30','05-01','05-02','05-03','05-04','05-05','05-06','05-07','05-08','05-09','05-10','05-11','05-12','05-13','05-14','05-15','05-16','05-17','05-18','05-19','05-20','05-21','05-22','05-23','05-24','05-25','05-26','05-27','05-28','05-29','05-30','05-31','06-01','06-02','06-03','06-04','06-05','06-06','06-07','06-08','06-09','06-10','06-11','06-12','06-13','06-14','06-15','06-16','06-17','06-18','06-19','06-20','06-21','06-22','06-23','07-11','07-12','08-02','08-08');

 

I need to do 2 things...

 

1>

Using some functions or whatnot to create a calendar like looking interface running from July 1st to Nov 2nd.

Each of these calendar days will contain 2 checkboxes  []single  []double

For each calendar date if single array date exists []single checkbox is selected and same goes for double

 

2>

Basically the calendar like interface would be a form that will then update the arrays with new dates per checkbox []single []double

so if on July 1st both checkboxes are checked and the calendar is submitted...

both arrays should then have 07-01 inserted into the arrays in the proper order July1 - Nov2.

 

 

I hope im clear in what im hoping to achieve... thank you for all the help in advance.

I've never worked with dates and im not sure what to do with this really.

Link to comment
https://forums.phpfreaks.com/topic/112691-solved-need-a-calendar-form-thing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.