$added= mysql_query("ALTER TABLE customers ADD email VARCHAR(50) NOT NULL"); if($added !== FALSE) { echo("The column has been added."); }else{ echo("The column has not been added."); }