0

I can't create a table from PHP code. Every time I check in phpMyAdmin, I can see the database but not the table. I've tried different solutions but no one worked.

$con = mysqli_connect('localhost', 'root', '', 'dbprova');

mysqli_query($con, "CREATE TABLE Employees 
(employee_id INT, first_name VARCHAR(50), last_name  VARCHAR(50)");
nbk
  • 45,398
  • 8
  • 30
  • 47
Max
  • 69
  • 1
  • 2
  • 7

0 Answers0