<%@ LANGUAGE="VBSCRIPT"%>
<!--#include file="utils.inc"-->
<%printHeader "Create Account"%>
Enter your basic information here to create an account.<p>
Name: <input type="text" name="name" length="15"><p>
More content unique to that page.....
<%printFooter%>
You can use JScript if you prefer, but you'll have to get the correct syntax
from someone else.
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Andrew" <akoper@web4000.com> wrote in message
news:42cdd29b.0401091554.2110c104@posting.google.c om...[color=blue]
> I really appreciate everyone who is responding to my question. I have
> an important point to clarify/reiterate. When I make web apps in PHP
> or Perl, my pages look like this:
>
> <?
> include 'utils.inc';
> $page = "Create Account";
> printHeader($page);
> ?>
>
> Enter your basic information here to create an account.<p>
> Name: <input type="text" name="name" length="15"><p>
> More content unique to that page.....
>
> <?
> printFooter();
> ?>
>
> Isn't this brilliant?! Or is it crazy?
>[/color]
_I_create_functions_that_print_the_common_header_a nd_footer_sections_that_in
clude_structural_HTML_[color=blue]
> I don't just insert vars. This way, there isn't common HTML
> duplicated across the 500 pages of the site I just inherited and am
> upgrading. I am going by the programming paradigm of "if you use the
> same thing over and over, just write it once and refer to it, don't
> write it over and over." This way, if we decide to add another
> hyperlink in the menu in the header, it is a 10 minute job, not a 15
> hour job. The function printHeader is virtually all HTML, almost like
> an include file. It ought to look virtually like an include file,
> just all HTML like Perl's "print HERE" function. You ought to be able
> to do this in ASP. How?
>
> :)
> -AK[/color]