navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Using an include page in an IF-Then statement

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Using an include page in an IF-Then statement
Page: [1]
 
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
Using an include page in an IF-Then statement - 12/14/2001 20:54:41   
Hi all:

I am using an If-Then statement which is not working. No error, just not working.

I've tried:

<%If request.form("massmail") = "5" then response.write "<!--#include file=""navbardeluxe.asp""-->" end if %>

and

<%If request.form("massmail") = "5" then response.write "<!--#include file='navbardeluxe.asp'-->" end if %>

The problem is in the second half of the statement.

Thanks


http://www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Using an include page in an IF-Then statement - 12/14/2001 23:35:46   
You cant do either :(

What you need to do is :

<%If request.form("massmail") = "5" then %>
<!--#include file="navbardeluxe.asp"-->
<%end if %>



§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart

(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Using an include page in an IF-Then statement - 12/15/2001 0:18:14   
As always, thank you.

BTW, I received about 6 email messages as a response to this, and none of them had hyperlinks to Outfront.

http://www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada

(in reply to hzarabet)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Using an include page in an IF-Then statement
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts