[supersaibal]Originariamente inviato da paplo
prova così...

Codice PHP:
//connessione al db
$connect=mysql_connect($db_server$db_username$db_password) or die ("No Server Connection");
                    
//selezione db
mysql_select_db("db_butterfly",$connect) or die ("No DB Connection");
                    
$insert "INSERT INTO tab_news (year, month, day, news, author) VALUES($year$month$day, '$news', '$author')";
                    
mysql_query($insert,$connect) or die(mysql_error()); 
[/supersaibal]