Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 12-21-2014, 10:59 PM   #1
suhanarai
Registered User
 
Join Date: Oct 2014
Posts: 251
How to create a datepicker in PHP?

How to create a datepicker in PHP?
suhanarai is offline   Reply With Quote

Old 12-27-2014, 08:49 AM   #2
george.web13
Registered User
 
Join Date: Jul 2014
Location: Athens, Greece
Posts: 461
Check these 2 links :
http://www.triconsole.com/php/calendar_datepicker.php
http://www.phpclasses.org/package/33...ndar-date.html

The best is to use a javascript datepicker in your php site.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
george.web13 is offline   Reply With Quote
Old 12-30-2014, 04:27 AM   #3
marclewis
Registered User
 
Join Date: Jul 2014
Posts: 307
In PHP class, you can use pop-up window to create date picker and user can choose a date from a calendar because the class will automatically generate the HTML and JavaScript code.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
marclewis is offline   Reply With Quote
Old 02-05-2015, 04:08 AM   #4
satvat
Registered User
 
Join Date: Dec 2014
Posts: 3
you can use date functionality term otherwise too many open source are available, datepicker tools as well....
satvat is offline   Reply With Quote
Old 02-10-2015, 03:47 AM   #5
kathyrose
Registered User
 
Join Date: Feb 2015
Posts: 126
Read more about it at
<?php
$datepicker = new \Kendo\UI\DatePicker('datepicker');
$datepicker->min(new DateTime('1900-01-01'))
->max(new DateTime('2099-12-31'))
->value(new DateTime('today', new DateTimeZone('UTC')));
?>
<?php
echo $datepicker->render();
?>
kathyrose is offline   Reply With Quote
Old 11-18-2015, 10:21 PM   #6
ramskl
Registered User
 
Join Date: Sep 2015
Posts: 240
Quote:
Originally Posted by kathyrose View Post
Read more about it at
<?php
$datepicker = new \Kendo\UI\DatePicker('datepicker');
$datepicker->min(new DateTime('1900-01-01'))
->max(new DateTime('2099-12-31'))
->value(new DateTime('today', new DateTimeZone('UTC')));
?>
<?php
echo $datepicker->render();
?>
This method is not a correct one.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ramskl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importance of Php Development for Web Development tech.biztech Programming General 35 11-22-2019 12:37 AM
How to add an datepicker in php? suhanarai Programming General 1 01-26-2015 04:36 PM
create dynamic php page title? noahwilson PHP / mySQL 8 04-23-2014 12:12 AM
How can i create a shopping cart through PHP? chikkiarora Programming General 0 12-15-2011 06:32 AM


All times are GMT -7. The time now is 05:50 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.