Che errore ti restituisce?
Richiamando mysql_error() che cosa ottieni?