Text area bbcode

Started on the old forum in October 2011 · view the original in the archive · old links redirect here

1 reply · 603 views · started 15 years ago · 1 min read

2 participants
wasted05 Junior · 11 posts #1

who can give me a text area BBcode? i use a lavalair script.. plz help me and advance

Kuchi Junior · 11 posts #2

Somthg lyk this??

function bbcode($string){
$string = preg_replace("(\[code\](.+?)\[\/code])is","\"<textarea>$1</textarea>\"<br/>",$string);
return $string;
}

Who i m doesnt matter

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close