473,698 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

making a Calendar on a site

4 New Member
How do i create a calendar on a site using PHP code.
Aug 18 '06 #1
2 1985
rkagrawal
13 New Member
If you wish to go custom , there is a technique.
Just start from Jan 1 , [yearname] .
Make a table of size 7 x 6 for each month.
for($i = 1;$i<=31;$i++)
{
if (isvalid($i.$mo nth.$year))
{
echo it ;
}
else
{
$month++;
$i=1;
}
}
There is a function in PHP to check if the date is valid or not . You can either use that or if you are "learning" it , i prefer you code a custom one.

Rahul Agrawal
Developer
Web2003 Corporation
www.web2003corp .com
Sep 4 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
6348
by: COmbined | last post by:
Does anyone know of a control (freeware or commercial) that has a swing based implementation of a calendar control that I can use for recording bookings for objects Thanks Combined
2
4102
by: Pete..... | last post by:
Hi all. I'm trying to make a calendar for my webpage, python and html is the only programming languages that I know, is it possible to make such a calendar with pythong code and some html. The Idea is that when I click the link calendar on my webpage, then the user will be linked to the calendar. The calendar should show one month at the time, and the user should be able
1
2260
by: news.planet.nl | last post by:
Dear sir, I got a javascript clendar from plant source code. It is very similiar to the calendar script on expedia.com site. Does any one has experience with calendar script on expedia site???? It is very nice, but always has an error like below: http://www.vitaminstore.nl/javascriptproblem.gif It always disable a possibility to choose some certain date like the above image shows. Any help will be appreciated. You can find the...
6
2192
by: Abs | last post by:
Hi, I'm looking for a ASP form with calendar (and emailing) capabilities built into it. Does anyone know of some good ones? It does not have to be free. Thanks in advance!!
4
1913
by: Andrew Chanter | last post by:
I recently installed Stephan Lebans calendar control into an application. Only problem is that it always launches at the extreme right of the screen with most of the dialog off screen. I am activating it with a command button next to the field I want to update. Dont know if this is the issue. Any clues??
6
1647
by: Jeff S | last post by:
I would like recommendations for implementing a calendar in an ASP.NET web site. My plan is to store date and event information (e.g,, "Spring Sale") in a database, and when the page is requested, load the calendar. Users would ideally view an entire month, and a short description of an event within a specific date. More than one event will be listed for some dates, with a brief description displayed in the calendar. I'd like to enable...
38
2823
by: George Sexton | last post by:
We're in the process of re-launching our web calendar product. We would like to get your opinions on a couple of things about our site and product. This is a relaunch of an existing product with hundreds of customers. The major effort of the re-launch is to focus more on the hosted calendar market. Toward that end, we've re-designed our web site, and changed our pricing. Essentially, we've dropped the license fee that we were charging...
4
2962
by: ShyGuy | last post by:
A while back I had found a link to a popup calendar that had a small button that was placed to the right of any text box. By clicking on the icon and selecting a date the text box was updated with that date. You were able to use the icon (button) on multiple text boxes on the form. I have lost the link and can't find any reference to it on my machine. Could someone lead me in the right direction? Thank you.
6
3372
by: Tony Girgenti | last post by:
Hello. Developing a VS2005, SP4, VB, .NET 2.0, ASP.NET 2.0, web site program using a calendar. I tried using the validators to see if i can validate dates using a calendar control. It does not allow me to select the calendar control in the drop-down list for the ControlToValidate property. Is it possible to do client-side validation of calendar dates?
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7741
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.