Ok, I have programmed in PHP for years, but recently took on a client 
that their internal network requires ASP. (bleh, no offense).

Here is what I want to do, something very simple. Below is kinda what 
it looks like in PHP

<?
require('mainpage.inc');

$page = <<<EOT
ALL HTML FOR THIS PAGE with variables if needed
EOT;

showpage($page,"Title");
?>

MAINPAGE.INC

require('banner.inc'); (only has html banner data)
require('footer.inc'); (footer only html)
require('menu.inc'); (full menu info only)

function showpage($page,$title) {
    $full_body = <<<EOT
<HTML>
<TITLE>$title</TITLE>
<body blahblahblah>
<table cellspacing=0 cellpadding=0 border=0>
<TR><TD colspan=2 valign=top>$banner</TD></TR>
<TR><TD valign=top>$menu</TD>
<TD valign=top>$page</TD></TR>
<TR><TD colspan=2>$footer</TD></TR></TABLE>
</body></html>
EOT;
print $full_body;
}

Basic question, is there a way in ASP to do the variable like $page 
<<<EOT EOT; so you can use quptes and apostrophes etc. and if so how?

Thanks in Advance.
Jason








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to