including .shtml file within my php script

From: Date: Wed, 27 Aug 2003 16:13:29 +0000
Subject: including .shtml file within my php script
Groups: php.general 
Request: Send a blank email to php-general+get-160934@lists.php.net to get a copy of this message
I have an open source php script to add items to a mysql database. I want to wrap the page using a .shtml file Currently, the .shtml file is: http://bursar.indiana.edu/gotcha/index.shtml The php script is: http://bursar.indiana.edu/gotcha/g_add_gotcha.php I believe that I should be able to use one of the commands: Include, require or virtual in order to have the .shtml file called from php. I'm having trouble with the syntax. Has anybody successfully done something like this? I tried: <?php require("_header.shtml"); ?> ----------------------------------------------------------------- Jim Gronquist Computer Network and Programming Analyst Office of the Bursar Indiana University 812.856.3026 x6-3026 jgronqui@indiana.edu

« previous php.general (#160934) next »