Codice PHP:
if(!is_numeric($stringa))
{
   echo 
"non ";
}
echo 
"è un numero"