ehm che stupido..

if(mysql($query2, $db)) {

ho cannato il nome della funzione -.-

"mysql_query" e non "mysql"

fustigatemi