Thursday, 13 March 2014

PHP get numbers from string



preg_match_all('!\d+!' , $string, $matches);
print_r ($matches);

No comments:

Post a Comment