You have got mistake in:
mysql_query("ISERT INTO `users`(`email`, `password`, `name`) VALUES ('myemail@gmail.com','" . sha1($password) . "' , 'Flamur')");
You must use INSERT
no ISERT
so try to replace your line with this:
mysql_query("INSERT INTO `users`(`email`, `password`, `name`) VALUES ('myemail@gmail.com','" . sha1($password) . "' , 'Flamur')");