You are here: C97net • 5.07 Editor Functions
Display a BB editor
function bbc_area ($id, $text = '', $width = 450, $height = 100)
Display a BB editor form field.
$id = form field ID.
$text = default text (optional).
$width = width of the input area (default 450px).
$height = width of the input area (default 100px).
This function needs editor skin in /skins/_common/editor.tpl; and of course TinyMCE in /etc/js folder.
Example 1
<?php
require './includes/user_init.php';
echo bbc_area ('details');
?>
There is no comment. Why not be the first?