hi :)
(sorry if my english is not perfect: /) I'm trying to make a code editor for my site, I want users to automatically write color when they are on tape. I found this PHP script that uses GeSHi for color code. my problem is that I cannot use it in textarea: / someone talked about using fieldset, but I cannot figure out how: /
include("geshi/geshi.php");
$source = $req;
$language = 'php';
$path = 'geshi/geshi/';
$geshi = new GeSHi($source, $language, $path);
echo $geshi->parse_code();
can someone help me? :) thanks :)
source
share