Questa è la funzione PHP che ho creato:

Codice PHP:
function notifica($id$text) {
  global 
$con;
  
$sqlNOT "INSERT INTO notifiche (id_utente, data, testo) VALUES ('".$id."', '".date("Y-m-d H:i:s")."', '".addslashes($text)."'";
  
$queryNOT mysql_query($sqlNOT$con);

Dove $con è la connessione al Database.

Il Problema è che quando faccio:

Codice PHP:
notifica(1"Testo della Notifica"); 
Non mi funziona, ma non da nemmeno errori..

Cosa è sbagliato???