Jump to content

Help need on string manipulation


kks_krishna

Recommended Posts

HI,

 

I have the following urls:

 

http://www.sitename.com/articles/2007/10/articles-name/

http://www.sitename.com/articles/2007/10/articles-name/2

http://www.sitename.com/articles/2007/10/articles-name/3

.....

 

I want to get the url pattern like this for all the above string:

http://www.sitename.com/articles/2007/10/article-name.html

 

This i need for displaying whole article for print option. How can i do that?

 

 

Link to comment
https://forums.phpfreaks.com/topic/74959-help-need-on-string-manipulation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.