![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| In article <7z51b.79045$F92.8659@afrodite.telenet-ops.be>, HamuNaptra <hamunaptra@pandora.be.NOSPAM> wrote: > Hi, > > I'm making my own forum, but I've run into a problem. > > I created my own BB-code e.e. [b] = bold, ... > > I use this code: > $msg = str_replace("", "<b>", $msg); > $msg = str_replace("", "</b>", $msg); > > now this works fine, but I also want to allow links using > > link > name > > I could do a search for [URL, then remember the position and depending on the > folowing > > ] > - search for [/url] and all chars before that is the hyperlink > > OR = > - search for ], all chars before that make up the hyperlink, and all folowing > chars in front of [/url] make up the name > > This is my way, but isn't there a better way? > > This isn't answering your question but.......... why don't you just write standard html? | |||
| Featured Websites | ||||
|
![]() |
| Tags: codes, forum |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cheat codes | _Mefernando | Console Subjects | 1 | 06-26-2007 10:49 AM |
| Garmin Codes right here!!!!!!!!!! | stubbing@expressvoo.ca | GPS | 1 | 06-25-2007 10:02 PM |
| Radio codes | Jinx | Car audio | 1 | 06-17-2007 5:56 PM |
| car sec codes | Richard | Car audio | 0 | 06-17-2007 3:02 PM |
| Forum Posters Required for my Forum Posting Service Company | mayank | For Hire | 6 | 05-12-2006 10:11 AM |
| Featured Websites | ||||
|