note 31787 added to function.highlight-string
| From: | sujoyroy8 at hotmail dot com | Date: | Sat, 03 May 2003 20:43:46 +0000 |
| Subject: | note 31787 added to function.highlight-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47450@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.......
--
http://www.php.net/manual/en/function.highlight-string.php
http://master.php.net/manage/user-notes.php?action=edit+31787
http://master.php.net/manage/user-notes.php?action=delete+31787
http://master.php.net/manage/user-notes.php?action=reject+31787