Non hai detto che errore ricevi e comunque nel die() stampa anche mysql_error()