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

Posted by Jim Moseby on 01/03/06 23:18

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

Since PHP is server-side, a more elegant solution could be achieved using
javascript. In order to do this with PHP, your script would have to make
the trip back to the server after the month was entered to calculate the
valid day.

JM

 

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

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