Jump to content

Archived

This topic is now archived and is closed to further replies.

laide234

PHP Date Entry question

Recommended Posts

I want users to enter dates into a database, but I would like to control the client side entry with some kind of calendar. can anyone help?

Share this post


Link to post
Share on other sites
Are you asking how to create a calendar script, because I'm sure a quick google search would yield something that you could modify to fit your needs.

Share this post


Link to post
Share on other sites
You (mewhocorrupts) are right. I was looking for something like this

http://www.softcomplex.com/products/tigra_calendar/demo1.html

I was just wondering if there was another/easier way,  like get_calender, to do this.

Share this post


Link to post
Share on other sites
It's more than possible to do it in PHP, or with a combination of some heavier JS and PHP.  What would be easier, though, is to use the script from the site that you provided above.

In the source file for the calendar:
[code]
<!--
<html>
.....

Title: Tigra Calendar
URL: http://www.softcomplex.com/products/tigra_calendar/
Version: 3.2
Date: 05/18/2006
Feedback: feedback@softcomplex.com (specify product title in the subject)
Note: Permission given to use this script in ANY kind of applications if
  header lines are left unchanged.
Note: Script consists of two files: calendar?.js and calendar.html
About us: Our company provides offshore IT consulting services.
    Contact us at sales@softcomplex.com if you have any programming task you
    want to be handled by professionals. Our typical hourly rate is $20.
-->

.....
</html>
[/code]

Just leave the headers intact, and have at it.  Nice find, by the way.  I bookmarked this one.  And if you're looking for something a little less visually appealing -- a script to just get the job done -- you could probably strip this one down to barebones and use it that way.

Also, try this one out:
[url=http://www.stargeek.com/php_scripts.php?script=5&cat=blog]http://www.stargeek.com/php_scripts.php?script=5&cat=blog[/url]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.