add trouble detection if insert field failed
This commit is contained in:
@@ -63,8 +63,7 @@ if(isset($submit))
|
||||
}
|
||||
|
||||
$sql_query = "ALTER TABLE $table ADD $query";
|
||||
$result = mysql_query("ALTER TABLE ".db_name($db)."."
|
||||
. tbl_name($table) . " ADD $query");
|
||||
$result = mysql_query("ALTER TABLE ".db_name($db).".". tbl_name($table) . " ADD $query") or mysql_die();
|
||||
|
||||
$primary = '';
|
||||
|
||||
|
Reference in New Issue
Block a user