Help please!

Results 1 to 3 of 3

Thread: Help please!

  1. #1
    Mert Ulubay Guest

    Default Help please!

    Hi,<BR><BR>I am a new at ASP. I have PWS and just wrote a page with ASP. I took an example from a site. This example is ok in his site. But I can not see page while in my PC !<BR><BR>Thank you...<BR>---------------<BR>code is:<BR>&#060;html>&#060;head><BR>&#060;title>respo nse.asp&#060;/title><BR>&#060;body color="#FFFFFF"><BR>&#060;%<BR>when=now()<BR>tommo row=dateadd("d",1,when)<BR>twoweekslater=dateadd(" w",2,when)<BR>monthlater=dateadd("m",1,when)<BR>si xminuteslater=dateadd("n",6,when)<BR>sixhourslater =dateadd("h",6,when)<BR>response.write "Now &#060;b>" & when & "&#060;/b><BR>"<BR>response.write "1 month from Now &#060;b>" & monthlater & "&#060;/b><BR>"<BR>response.write "2 weeks from Now &#060;b>" & twoweekslater & "&#060;/b><BR>"<BR>&#037;&#062;<BR>six minutes from now &#060;b> &#060;%=sixminuteslater&#037;&#062; &#060;/b><BR><BR>six hours from now &#060;b> &#060;%=sixhourslater&#037;&#062; &#060;/b><BR><BR>&#060;/body>&#060;/html><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    511

    Default RE: Help please!

    Looks like you just missed out you closing &#060;/head> tag. Should always close your &#060;head> before you open your &#060;body> tag.<BR><BR>Pete

  3. #3
    Gigio Guest

    Default RE: Help please!

    Hi, i tried this code and it works fine (with only a few adjust on twoweekslater=dateadd("ww",2,when).<BR>Make sure that you have ASP installed with PWS (latest version already has this included). When i started, sometimes forgot to save the files with .asp extension too. Check it out...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •