Question

From: Date: Thu, 14 Aug 2003 08:12:41 +0000
Subject: Question
Groups: php.general 
Request: Send a blank email to php-general+get-159536@lists.php.net to get a copy of this message
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?

« previous php.general (#159536) next »