Re: how to build an array
| From: | Jim Winstead | Date: | Sat, 23 Feb 2002 03:41:48 +0000 |
| Subject: | Re: how to build an array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85923@lists.php.net to get a copy of this message | ||
Jtjohnston <taylorjo@collegesherbrooke.qc.ca> wrote:
> Where/How do I start in building a new array? ".=" doesn't work:
>
> $authors .= explode(";", $mydata->KW);
'.=' doesn't work because that does a string append.
you just want:
$authors = explode(";", $mydata->KW);
then you can sort the array using sort(). http://php.net/sort
jim