I got this string: 1497=3&1498=41&1499=52&1496=21&1500=6
And i have to extract the number after the equal sign.
I have tried it with:
preg_match('/1498=(S)/', '1497=311&1498=41&1499=52&1496=21&1500=6', $matches);
But i only get the first number 4 and not 41.
Array
(
[0] => 1498=4
[1] => 4
)
And i don’t need Match 1 ([0] => 1498=4). So i only need 41 as output.
Thanks a lot.