Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Program

Status
Not open for further replies.

lieberty

Programmer
Jul 12, 2002
2
US
I am a new programmer. Please take a look at the following program plan. What language should I use? How should I do it?

Here it is:


I want to create a dynamic web document that alternates between two webpages, one per week, for a week one and a week two. Here is my plan:


Every Sunday I can have a "week" variable turn from 1 to 2 or 2 to 1, the value of "week" determines which html page, or (if it's easier) which section of code, is displayed.



If current day=sunday, then do this:

If week=1 change to week=2
Else change to week =1

If not, don't do anything.


If week=1 display week1.html
If week=2, display week2.html
 
being a asp guru I say asp but you can do this with any language you want.
Depends on what you are good at and used to using. [bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
Thanks, but I don't know any language. I am learning!
 
I would start out with javascript so you do everything on the client side.
that may be easier to start out.

even knowing ASP would be shorter for this and easier to write you'll have to deal with the fact you'll need a way to test the pages via server or load PWS etc..
there are free hosting services out there if you do want to go asp side. brinkster.com for example

There are hundreds of example scripts out there to look at
and learn from

hope that helped you out!

[bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
I dont know any ASP (for I am also trying to learn), but I think ASP would be a better way of doing it...
Plus ASP can give you cross-browser compatibility... I have not failed; I merely found 100,000 different ways of not succeding...
 
I liek to here those kind of things GUJUm0deL [thumbsup] [bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top