note 31787 rejected from function.highlight-string by alindeman

From: Date: Sat, 03 May 2003 20:44:10 +0000
Subject: note 31787 rejected from function.highlight-string by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47452@lists.php.net to get a copy of this message
hi, i tried your script but when i try changing input to $rows[1], i get this error: Parse error: parse error, unexpected '[', expecting ')' in C:\Program Files\Apache Group\Apache2\htdocs\content\centre_cats\articles.php on line 18 line 18 = function phpHighlight($rows[1]) i basically need a script like what you've done but works for me, just using [php] and [/php] to turn anythign thats in there into code wether <? and ?> is there.......

« previous php.notes (#47452) next »