Arrays (simple)
| From: | o dot cook at etoncollege dot org dot uk | Date: | Thu, 26 Oct 2000 15:43:40 +0000 |
| Subject: | Arrays (simple) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22157@lists.php.net to get a copy of this message | ||
I expect this one is very simple, but I would appreciate it if someone could
suggest what functions I should
use to achieve this.
I will be passing a large amount of text to a script in the following
format:
An Artist - A Song Title
Another Artist - Another Song Title
...
When passed to the script all of that will be in one variable; what would be
the best way of getting
each line to be a new item in an associative array?
Many thanks for any pointers,
Best regards,
Ollie