I want to create a table in Mysql but i receive an error.
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\wamp\www\CreateTable\create.php on line 11
Table veriler_2 couldn't been created! :
i give you the whole lines to check it for me. I can not find anything.
$sql = "CREATE TABLE veriler_2
(id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, ad VARCHAR (10), soyad VARCHAR (10))";
$res = mysqli_query($mysql, $sql);