Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple calendar form

Status
Not open for further replies.

p27br

Programmer
Aug 13, 2001
516
GB
hi,
i have searched the we for a script, but i can't find exactly what i need.
I just want to be able to click/select multiple days from a monthly calendar and add these selected dates to a mysql table with the session userid.
the scripts i have found are either too complicated ( event managers) or too simple, plain printable calendar.

thanks
 
Here are some possibilities that specifically allow multiple dates and ranges to be selected:


And here are some resources that list calendars - something to look through if the above don't help you:


Finally, there is nothing better than "rolling your own" - and with such a wealth of pre-written scripts at your disposal (see the links above) you will have plenty of reference material.

If you decide to build your own and run into any specific problems, I'm sure we'll be able to help you out.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
BabyJeffy said:
...there is nothing better than "rolling your own" - and with such a wealth of pre-written scripts at your disposal (see the links above) you will have plenty of reference material.

If you ... run into any specific problems, I'm sure we'll be able to help you out.

What specific problem are you experiencing?

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
well the checked checkboxes aren't submitted to the $_POST variable when i click the Save button.
 
Have you confirmed this is the case (by echoing out the whole header sent from the browser to PHP) - are there any other form fields that are being submitted (and handled successfully)?

You could attempt to change the method parameter of the form tag to be GET instead of POST -- and then see the parameters in the location bar (useful for debugging).

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
i did a print_r of $_POST and it indicates all the other form elements are properly submitted.

i shall try your suggestion but i think there is a problem with the checkboxes method
 
i found out what the error is, the calendar is generated outside the form, so that's why the checkboxes aren't submitted.
thanks anyway for your help
 
you could set the checkbox variables as global and still use them.

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top