I have 3 files 1) show_createtable.html 2) do_showfielddef.php 3) do_showtble.php
1) First file is for creating a new table for a data base, it is a fom with 2 input
You must close the for expression block:
for ($i = 0; $i < count($_POST[field_name]); $i++) { $sql .= $_POST[field_name][$i]." ".$_POST[field_type][$i]; // ... }