hi stuart,
Stuart Felenstein wrote:
> //create short variable names
> $LastName = $HTTP_POST_VARS['LastName'];
> $Address1 = $HTTP_POST_VARS['Address1'];
> $City = $HTTP_POST_VARS['City'];
> $State = $HTTP_POST_VARS['State'];
> $Zip = $HTTP_POST_VARS['Zip'];
> $HTele = $HTTP_POST_VARS['HTele'];
>
Wade,
Is the variable table_name you're passing an array? If so, you would want
to do something more like this:
$array = $_POST['table_name'];
foreach ($array as $table) {
$sql = "CREATE TABLE ".$table."(";
for($i = 0; $i < count($field_name); $i++)
///etc
02122003 1252 GMT-6
Ok. This might be a different problem than I first thought.
Im calling data from the previous page via the $_POST. This holding
variable is holding eight or more values. It takes these values and
creates fields for a database.
My problem is, does this code pull multple value