Error creating tableYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘PRIMARY KEY, name VARCHAR(50) NOT NULL, email VARCHAR(50) NOT NULL)’ at line 1Error inserting record : Table ‘crud_db.users’ doesn’t existError inserting record : Table ‘crud_db.users’ doesn’t exist
Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in C:xamppXampphtdocsCrudindex.php:79 Stack trace: #0 C:xamppXampphtdocsCrudindex.php(79): mysqli_num_rows(false) #1 {main} thrown in C:xamppXampphtdocsCrudindex.php on line 79
i dont know how to fix it
Jay-ar Badajos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.