GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 30-Nov-2002, 12:19
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough

Code


That php tag you have on your forum here, how did you do it?
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
Last edited by pcxgamer : 30-Nov-2002 at 12:49.
  #2  
Old 01-Dec-2002, 04:55
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
I didn't... it came with the software/script; vBulletin.

But what Garth and I designed for our BBCode class (which I use on the rest of the site) is:

use preg_match_all() to find all occurences of the [ PHP ] tags, saving it to an array then using str_replace() to process the code. It's quite ingenious actually...

Not surprisingly, our code works even better then the one on this board!
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with C code belludandy C Programming Language 1 26-Jan-2004 22:28
Save code option BobbyDouglas GIDForums™ 3 09-Nov-2003 00:48
error handling code.. daveyp225 C++ Forum 0 26-Oct-2003 07:46
something wrong with this code loon MySQL / PHP Forum 5 07-Jul-2003 06:55
PHP code snippet library - Anyone have any use for this? jrobbio MySQL / PHP Forum 1 02-Mar-2003 16:18

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:32.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.