Hi,
i have this code:
<?php var_dump(strpos($url, "cashgold.")+9) ?>
<?php var_dump(strpos($url, '/', 8)) ?>
<?php $resta = strpos($url, '/', 8) - strpos($url, "cashgold.")+9 ?>
<?php var_dump($resta) ?>
this prints:
20 22 20
I expected it prints :
20 22 2
Any idea?
Regards
Javi