|
|
|
|
|
$cday= date( "d" );
$cmonth= date( "m" );
$cyear= date( "Y" );
echo "<TD align=left><select name=day>";
$i=1;
while($i<32) {
if ($cday == $i) {
echo "<option selected> $i";
}
else {
echo "<option> $i";
}
$i=$i+1;
}
echo "</select>";
echo " / <select name=month>";
$i=1;
while($i<13) {
if ($cmonth == $i) {
echo "<option selected> $i";
}
else {
echo "<option> $i";
}
$i=$i+1;
}
echo "</select>";
echo " / <select name=year>";
echo "<option selected> $cyear";
echo "</select></TD>";
|
|
| CALENDAR - easy calendar-navigation with PHP Categories : PHP, Date Time, HTML and PHP, Calendar | | | Simple PHP control CSS Calendar Categories : PHP, HTML and PHP, Calendar, Date Time, CSS | | | Local-to-user date and time display regardless of time zone or where the website's server is located Categories : PHP, Date Time, HTML and PHP, Java Script | | | Convert date's in YYYY-MM-DD (i.e. mysql format) into PHP3 timestamps. Also Find the difference in days between two PHP3 timestamps. Categories : HTML and PHP, PHP, MySQL, Date Time | | | Creates three SELECT form fields: Month, Day, and Year. You give it a string which will be used to make the name for the three fields, and a number of seconds to use as the default date. If you give it blank for this value, the current date is used. Categories : HTML and PHP, PHP, Date Time | | | Kewl Date Example Categories : PHP, HTML and PHP, Date Time, CSS, Beginner Guides | | | Customizable Calendar Class Categories : HTML and PHP, Date Time, PHP, PHP Classes, Calendar | | | PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use! Categories : HTML and PHP, Email, PHP, Perl, HTML and PHP | | | Select with current month Categories : PHP, HTML and PHP, Date Time, Arrays | | | This script contains 2 functions: 1 to create html select object based on your own customer date format entry- "M d Y h:i.... etc". The second function processes the select object on submit back to unix time. Categories : PHP, Calendar, Date Time, HTML and PHP | | | Website colour changer Categories : PHP, HTML and PHP, Date Time | | | Calendar using Date function Categories : HTML and PHP, PHP, Date Time, Calendar | | | checkdate -- Validate a gregorian date/time Categories : PHP, PHP Functions, Date Time | | | Function to do live population of HTML's <Select> tag from a Table Categories : PHP, MySQL, HTML and PHP, Databases | | | Local Time clock and Server time usign PHP and JavaScript Categories : PHP, Java Script, Date Time, Beginner Guides | |
| |
| |
|