You are here: date processing needed in form « PHP « IT news, forums, messages
date processing needed in form

Posted by "Sue" on 01/03/06 22:41

Hello -

I need to create a form that allows the user to select a Month, Day and
Year. I am also new to PHP and am wondering if there is a way for me to
display the contents of the Select list box (for the Day) based on the Month
that is selected (and Year), so that the valid number of days for the month
(& year?) displays. For all of our other forms, we use CGI to handle our
standard forms validation, and was hoping to handle more complex validation
within PHP prior to sending the entire contents of my form to our standard
CGI validation routine. I know that I could use the Checkdate function once
the entire date is selected, but thought there might be an easier/more
efficient way of handling this and also not sure how to reference Checkdate
prior to Submitting my form to the CGI routine. I also was not sure if this
was something that is handled easier using Javascript? Any help/examples,
etc. would be greatly appreciated!

Thanks!!
Sue

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация