Try naming it variable.inc.php or telling your webserver to parse .inc files as php.
On 14/8/03 9:12 am, "Lito Dagodog" <[EMAIL PROTECTED]> wrote: > i have a question? > i have 3 files of PHP and the codes are as follows. > > variables.inc > <?php > $host = $_POST["host"]; > $username = $_POST["user"]; > $password = $_POST["password"]; > $dbname = $_POST["dbname"]; > $tblname = $_POST["table"]; > $field = $_POST["field"]; > $value = $_POST["value"]; > ?> > > createDB.php > <?php > include ('createtbl.php'); > ?> > > createtbl.php > <?php > include ('variable.inc'); > ?> > > > How come that the text inside the variable.inc will be shown in > createtbl.php? > Ryan Gibson ----------- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php