Login
·
Signup
Home
»
XtGem
»
Coding help
»
Embed youtube video bbcode
» View post
net3x
Graham
I m using like this
<?php function bbcode ($msg) { $msg = htmlentities($msg); $search = array( '/\[br\]/is', '/\[b\](.*?)\[\/b\]/is', '/\[i\](.*?)\[\/i\]/is', '/\[u\](.*?)\[\/u\]/is',); $replace = array( '<br />', '<strong>$1</strong>', '<em>$1</em>', '<u>$1</u>',); $msg = preg_replace ($search, $replace, $msg); $msg = bbcode ($msg); return $msg; } ?>
now can u guide me for [googlemap]LOCATION[ /googlemap]..
#
2015-02-04 07:25 ·
(0)
Home
»
XtGem
»
Coding help
»
Embed youtube video bbcode
» View post
Online: Guests: 1
Log in