Jump to content

Define type after user input


mrplatts

Recommended Posts

I've been puzzling out this issue and am not exactly sure how to do it.

My project (so far...) ([url=http://www.mrplatts.com/sched/cal_setup.html]http://www.mrplatts.com/sched/cal_setup.html[/url])

User puts in a start date, then an end date, the begining rotation day and exceptions to the days

The exceptions dump into an array & a function assigns the weekdays a rotating number 1-6, unless it is an exception

This will set up the basic calendar for an entire year for a school's day-roation. 
The point---------------->

After the form has processed & made a a table, I plan on allowing the user to choose a day type (Holiday, Clerical, Inservice) 

I don't want the code to get über-complicated...

I suppose it might just be a matter of carrying over the posted data to the third submission, maybe you can suggest an efficient way to do it.

Eventually it would be submitted to a mySQL database.  Would it be easier to submit the data at first & then modify it when it is in the database, instead of trying to do it all before inserting it? 

Rich

Link to comment
https://forums.phpfreaks.com/topic/27498-define-type-after-user-input/
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.