G'day Peter

 > I have a form with several date fields. I want to be able to
 > set these by selecting from a calendar display.  Does anyone
 > know of any php function or code which would let me do this?

If you mean having some sort of pop-up calendar display that the user
can select a date from and have this populate a form field then you'll
need to go client-side.  This usually means javascript.  The idea is to
use the javascript stuff to generate your calendar and to place the
results back in your form which php can then deal with after the form is
submitted.

How you do that, not sure (haven't done it myself) but I'm sure you'd
find examples in plenty of places (google is your friend) or you could
try www.irg.org for some pretty good javascript stuff.

CYA, Dave




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to