SyntaxFix
Write A Post
Hire A Developer
Questions
<?php $string = "producturl.php?id=736375493?=tm"; preg_match('~id=(\d+)~', $string, $m ); var_dump($m[1]); // $m[1] is your string ?>