Page 1 of 1

Urgent help

Posted: Wed Jun 10, 2009 3:50 am
by sam_demo
hello all,

I am working on one page , I stuck on one place my query is following

http://www.mysamworld.com/me/page/1

friend I want to get only the last 2 parameters from url which is page/1 ,how can I get that in php code

thanks
sam

Re: Urgent help

Posted: Wed Jun 10, 2009 8:05 am
by mikemike
Look up parse_url() and explode(). Should be quite straight forward.