jana Posted October 31, 2006 Share Posted October 31, 2006 Can any on suggest me which is the best way to get an input(date) from the user.1. Year in one list box, month in one list box, date in one list box.2. Is there any calendar function in php like VB? Link to comment https://forums.phpfreaks.com/topic/25684-accepting-date-as-input-from-user/ Share on other sites More sharing options...
Cep Posted October 31, 2006 Share Posted October 31, 2006 You could just use a simple text box and then use client or server side validation to ensure what they typed in was what you required. Link to comment https://forums.phpfreaks.com/topic/25684-accepting-date-as-input-from-user/#findComment-117216 Share on other sites More sharing options...
sinisake Posted October 31, 2006 Share Posted October 31, 2006 I would rather use first method(it is better(for me and easier for end user) when user doesn't have to enter data manualy-you can avoid validation).All 3 listboxes can be easy made with few arrays echoed :-) Link to comment https://forums.phpfreaks.com/topic/25684-accepting-date-as-input-from-user/#findComment-117228 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.