changed in:
and when problems happend it don't give me any error
edit, ok now it give me the error:
Quote:
Errore!: Access denied for user 'www'@'localhost' (using password: NO)
|
but obviously www it's not the same username of $user, it's the linux account where apache is running :S
edit2: if i try to put directly mysql account informations in mysql_connect($host, $user, $pass);
with "mysql_connect(127.0.0.1, "XXX", "XXX");"
sometimes it works, and sometimes the widget closes on himself like this screen:
http://img62.imageshack.us/img62/4190/immaginepmx.png
http://img828.imageshack.us/img828/2008/immagine2zw.png