MySQL
MySQL
Out of context: Reply #10
- Started
- Last post
- 11 Responses
- cosmo0
Worked like a charm I ran the sql on phpmyadmin.
$sql_update = "ALTER TABLE $table_name ADD $column_name INT(255) NOT NULL";
$result = mysql_query ($sql_update) or die ("Error: Could update table structure of table: " . $table_name . ". " . $sql_update);