Prova così: if ( strpos($row_controllo['categoria'], 'antipast') === true ) $num_antipasti += 1; ...
Regole del Forum