|
|
|
<style type="text/css">
<!--
th { font-size:12pt;
line-height:14pt;
font-family:Helvetica,Arial;
}
//-->
</style>
<?
/* t.ott@ott-edv.de */
$year=1999;
print("<table border='0' width='200'>\n");
for($month=1;$month<13;$month++) {
printf("<tr>\n<th colspan='7'>%s</th></tr>\n",date("F",mktime(0,0,0,$month,1,$year)));
printf
("<tr><th>Su</th><th>Mo</th><th>Th</th><th>We</th><th>Do</th><th>Fr</th><th>Sa</th></tr>");
$fdom=date("w",mktime(0,0,0,$month,1,$year));
$ct=0;
for($row=1;$row<7;$row++)
{
print("\n<tr>");
for($week=1;$week<8;$week++)
{
$ct++;
$value=mktime(0,0,0,$month,$ct-$fdom,$year);
if (date("m",$value)==$month)
{
printf ("<th>%s</th>",date("d",$value));
}
else { print("<td></td>"); }
}
print("</tr>\n");
}
print("<tr><td colspan='7'><br><br></td></tr>");
}
print("</table>");
?> |
|
| 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 | | | Customizable Calendar Class Categories : HTML and PHP, Date Time, PHP, PHP Classes, Calendar | | | 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 | | | Calendar using Date function Categories : HTML and PHP, PHP, Date Time, Calendar | | | 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 | | | Dynamic Calendar in PHP, Javascript and HTML. Categories : PHP, Java Script, HTML and PHP, Calendar | | | A PHP Calendar. Categories : PHP, Calendar, HTML and PHP | | | TreeView - Finally a working tree view function to be used as you want. Simple create the Table using the code provided and you will be able to have a tree view in your project. Download the zip to get the images. Categories : PHP, HTML and PHP, Navigation | | | Using PHP im HTML image tags Categories : PHP, HTML and PHP, Graphics, Beginner Guides | | | This script allows people to add their favorite quotes to your website. This
could easily be modified to be a guestbook script or comment page script. Categories : PHP, Complete Programs, HTML and PHP, Misc | | | How to preset a text string in a textarea input field Categories : HTML, HTML and PHP, PHP, Beginner Guides | | | PHP mySQL learning example This is a complete program to modify tables
in a mySQL database on a nice and neat way. Categories : PHP, MySQL, Complete Programs, HTML and PHP | | | string justification align center text Categories : Strings, PHP, HTML and PHP | | | Random quote generator using MySQL and PHP. Allows HTML tags inside quotes and
features a marker so a sigle quote will not be repeated after consecutive page
loads.
Categories : PHP, HTML and PHP, MySQL | |
|
|