If I create a page with this content:

<%

if(true)
 include("page1.html")
 
else
 include("page2.html")
 
end if

%>

and view with a web browser, it contains the same content as calling page1.html 
directly.

This is the behavior I want but it is not the behavior I expected. I expected 
the browser to be sent page1 and page2 concatenated together.

Am I using include properly? Can I rely on this behavior?

Warmest regards,

Rick Hazey
bitworx, inc.
---------------------------
[EMAIL PROTECTED]
http://www.bitworx.com
---------------------------
11924 Sunray Ave. Suite B
Baton Rouge, LA 70816
(225) 293-1333 Voice
(225) 293-1330 FAX
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to