se non hai nessun errore è perchè prima delle funzioni hai messo il: @
1. levalo
2. metti in testa agli script error_reporting(E_ALL);