Ciao a tutti, sarà perché non dormo e non vedo dove sta il problema, ma non riesco a fare andare la query mysql per inserire tramite PHP le informazioni nella tabella...

In sostanza, questo è il codice PHP:
Codice PHP:
    $sql_singup "INSERT INTO $db.users ('id', 'hash_user', 'username', 'password', 'email', 'email_fake', 'singup_ip') VALUES (NULL, '".$hash_use."', '".$username."', '".$password_crypt."', '".$email."', '".$e_fake."', '".$ip."');";
mysql_query($sql_singup) or die("Query non valida: " mysql_error()); 
Mentre questa è la tabella MySQL:
codice:
---- Struttura della tabella `users`
--


CREATE TABLE IF NOT EXISTS `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hash_user` text NOT NULL,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `email` text NOT NULL,
  `email_fake` varchar(1) NOT NULL,
  `name` text NOT NULL,
  `surname` text NOT NULL,
  `singup_date` datetime NOT NULL,
  `singup_ip` text NOT NULL,
  `last_date` datetime NOT NULL,
  `last_ip` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Non riesco a capire... :/