Nn è ke hai usato @ davanti ai comandi php?, tipo @mysql_........

in tal modo tu catturi l'errore e non lo fai uscire a video.