if(mysqli_query($mysqli, "
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) unsigned NOT NULL auto_increment,
`email` varchar(30) NOT NULL,
`password` varchar(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
")===false)
echo 'Error!<br>';
echo mysqli_error($mysqli);
Error!
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`users`' at line 1
Ошибок не выдаёт, пишет что email зарегистрирован, хотя таблица пуста