WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : php html calendar dynamic
Categories : HTML and PHP, PHP, Calendar Update Picture
Thomas Ott
Date : Nov 26th 1999
Grade : 2 of 5 (graded 5 times)
Viewed : 27254
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Thomas Ott
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

<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