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? Quote 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. Quote 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 :-) Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.