Ciao a tutti, ho questo script:


Codice PHP:
$sql "CREATE TABLE user_registry(
id INT(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
iduser CHAR(20) NOT NULL,
level CHAR(1) NOT NULL,
email VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(100) NOT NULL,
)"
;

if(
$db->query($sql) !== ""$error true
la tabella me la crea ma mi $error "true" come mai?