Parsing number value from SEF url in PHP

Posted by newbie on Stack Overflow See other posts from Stack Overflow or by newbie
Published on 2010-03-19T12:10:03Z Indexed on 2010/03/19 12:11 UTC
Read the original article Hit count: 183

Filed under:
|
|

I have SEF urls like /sitename/section/12-news-title and number 12 is id of the news. I need to get that number 12 in my php code, is there any out of the box method in PHP for this?

© Stack Overflow or respective owner

Related posts about php

Related posts about string