Ciao.
Prova questa
in match hai tutti i numeri.Codice PHP:$stringa="12 oppure 13 o 15, anche 20 e 21";
preg_match_all("/(\d+)/", $stringa,$match );
var_dump($match);
![]()
Ciao.
Prova questa
in match hai tutti i numeri.Codice PHP:$stringa="12 oppure 13 o 15, anche 20 e 21";
preg_match_all("/(\d+)/", $stringa,$match );
var_dump($match);
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it