ops aspetta ho trovato un errore:

$act==add


con

$act=="add"


forse ecco perchè

ari ciao

Alberto