Jump to content

Trying to turn dates into an array


chrispos

Recommended Posts

Hello all,

 

I'm using php 5 and MySQL 5

 

I have developed an on-line booking system based on the day number of the year

 

When a booking is added it goes into the database as start day start month and start year with the day of year number added the finish date for the holiday is as listed but with the last day last month and last year and that day of year,

 

I would like to turn the days into an array so I can put them in a calendar i.e. room 5 is booked from date a to date b

 

Has any one got any ideas?

Link to comment
https://forums.phpfreaks.com/topic/163419-trying-to-turn-dates-into-an-array/
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.