create fckeditor


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function wysiwyg_textarea($name, $value, $config = "NukeUser", $cols = 50, $rows = 10) {
  2. global $advanced_editor;
  3. # Don't waste bandwidth by loading WYSIWYG editor for crawlers
  4. if ($advanced_editor == 0 or !isset($_COOKIE)) {
  5. echo "<textarea name=\"$name\" cols=\"$cols\" rows=\"$rows\">$value

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.