Print Page | Close Window

Needs Help With Code

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7235
Printed Date: 31 March 2026 at 5:51pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Needs Help With Code
Posted By: Misty
Subject: Needs Help With Code
Date Posted: 13 November 2003 at 12:25pm

I am trying to work with someone else's code. Please take a look at the code below:

http://forums.webwiz.net/Viewevent.asp?"' ? & yeardtCurViewday ?-? monthnamemonthdtCurViewday -? ?view_date=" & daydtCurViewday & ">

Response.Write "<a href=ViewEvent.asp?" & "view_date=" & day(dtCurViewday) & "-" & monthname(month(dtCurViewday)) & "-" & year(dtCurViewday) & ">"  & Day(dtCurViewDay) & "</a></B><br>" & formatStr(dictDte(Day(dtCurViewDay)- 1, 1)) & "</FONT><BR>"

I want to remove the link in bold. How do I do this? I have tried to remove it, but I am not sure how to remove it without affecting rest of the code. I don't want there to be a link.

http://forums.webwiz.net/Viewevent.asp?"' ? & yeardtCurViewday ?-? monthnamemonthdtCurViewday -? ?view_date=" & daydtCurViewday & "> 




Replies:
Posted By: Semikolon
Date Posted: 13 November 2003 at 12:35pm

Response.Write Day(dtCurViewDay) & "</B><br>" & formatStr(dictDte(Day(dtCurViewDay)- 1, 1)) & "</FONT><BR>"

 

should work i think.. i really have no idea, but if you want to put out only the text and not the link i think it should work



Posted By: Misty
Date Posted: 13 November 2003 at 12:47pm

Unfortunately, this didn't work. I got the following error message on my web page:

Response.Write Day(dtCurViewDay)"</B><br>" & formatStr(dictDte(Day(dtCurViewDay)- 1, 1)) & "</FONT><BR>"
--------------------------------^


Posted By: ljamal
Date Posted: 13 November 2003 at 1:00pm
Response.Write Day(dtCurViewDay) & "</B><br>" & formatStr(dictDte(Day(dtCurViewDay)- 1, 1)) & "<BR>"

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: Misty
Date Posted: 13 November 2003 at 7:46pm

I finally have it fixed now. Thank you!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net