View Single Post
  #1 (permalink)  
Old April 2nd, 2007, 09:26 AM
Jack Goa Jack Goa is offline
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default bb code in chapter 16

Good day,

I keep getting these errors with the bbcode in the forum example in chapter 16:

Warning: preg_replace(): Unknown modifier 'g' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier ']' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier 'b' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier ']' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier 'r' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Compilation failed: unmatched parentheses at offset 12 in C:\Path tosite\..\functions.php on line 341

I am using PHP 4 because of compatibility issues still related with old sites of mine and PHP5.
If this is an issue related to PHP4, anyone have any idea on how I might be able to change the code to make it work?

Reply With Quote