Hi everyone,
I tried to add a column to an existing table using the following code:
But I get the following error:
I wish someone explained me that error message.
Thanks
I tried to add a column to an existing table using the following code:
Code:
<?php
$dbcon = @mysqli_connect ('localhost', 'user', 'pass', 'db') OR die ('Could not connect to MySQL: ' . mysqli_connect_error () );
mysqli_set_charset($dbcon, 'utf8');
ALTER TABLE users ADD phone VARCHAR(11);
?>
I wish someone explained me that error message.
Thanks