how would i add a bbcode function?
Posted: Mon Dec 29, 2008 4:46 pm
Code: Select all
function topic($input){
//bbcode
return nl2br(strip_tags(stripslashes(htmlspecialchars($input))));
}A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
function topic($input){
//bbcode
return nl2br(strip_tags(stripslashes(htmlspecialchars($input))));
}