Tokenizing memo field
| From: | Jarek Zgoda | Date: | Fri, 19 Jan 2001 06:29:04 +0000 |
| Subject: | Tokenizing memo field | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5972@lists.php.net to get a copy of this message | ||
I maitain a database of pascal code snippets in text blob. It is inserted
from <TEXTAREA> object. I would like to add some syntax - coloring to
display, but i have problem with strtok function - it does not allow using
CR+LF (or LF) as string tokenizer. Is there any way to get the contents of
this field into an array, like loading file contents with file().
Cheers
Jarek Zgoda