hi :) (sorry if my english is not perfect :/ ) im trying to make a code editor for my site, i want to color automatically code written by users at the some time they tape it. i found this php script which use GeSHi to color code . my problem is that i can't use it in textarea :/ someone talked about using fieldset but i cant understand how :/
include("geshi/geshi.php");
$source = $req;
$language = 'php';
$path = 'geshi/geshi/';
$geshi = new GeSHi($source, $language, $path);
echo $geshi->parse_code();
could someone help me ? :) thank you :)