Probeer dit: $sql= "CREATE TABLE $tName($cName $cType(45),$cName $cType(50))"; //echo $sql; $op =mysql_query($sql);