Jump to content

Help with url's


dcuellar

Recommended Posts

This is the code I have right now to automatically convert urls:

 

  $urlReplaceArray = array(
            "[url]\\2\\4[/url]"
        ); 

 

What I'd like to do is change it from to

 if within a specified forum (more than one forum), and the default [url] otherwise.

I imagine it would require an IF and ELSE somewhere in there...

Link to comment
https://forums.phpfreaks.com/topic/103726-help-with-urls/
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.