Page 1 of 1

Function: Show date in visible output

Posted: Wed Aug 13, 2003 9:10 am
by Anterpa
Hello,

I would like to give the user a graphical format for the date, and if he clicks on it, it will be added in the field or directly in the database.
We all know that user enter the wrong date format, so I want to give them this in calendar stylw.

I already had this for my other project in asp and hoped to find also something for php, but I could not.

Is there any existing function or class? Or do I have to write it on my own.

USER:
Select date of expiration: [here comes the graphical thing]

User clicks on e.g August 19 and this will be added in the database or shown in the webpage.

Thanks a lot

Antoine

Posted: Wed Aug 13, 2003 9:20 am
by JAM
Any idea of using

Code: Select all

<img src="01.jpg" onclick="submitform(01)">
<img src="02.jpg" onclick="submitform(02)">
...
<img src="31.jpg" onclick="submitform(31)">
out of the question? (Using images to send forms...) That way, the user has limited options (click only) but you still can get the day,month,year,whatever transfered...

Posted: Wed Aug 13, 2003 9:28 am
by Anterpa
Hello,

thanks, but I think it is a misunderstanding.
I don't need the current date to send.

Just click on your time on the sesktop and a date window will popup. I also want to have a little icon, which will display one month and this can be chosen.

http://mrbs.sourceforge.net/mrbs/day.ph ... &year=2003
like here in the upper right.
But instead of these pulldownmenus in the upper middle:

13 Aug 2003 goto


I want there an icon and it will display one month. There I click on 13 Aug and it will be dispayed.

Thanks
Antoine