Re: Re: how to build an array
| From: | Steven Walker | Date: | Sat, 23 Feb 2002 06:00:03 +0000 |
| Subject: | Re: Re: how to build an array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85926@lists.php.net to get a copy of this message | ||
Also, for adding items onto an array use array_push()
Steven J. Walker
Walker Effects
www.walkereffects.com
steve@walkereffects.com
On Friday, February 22, 2002, at 07:41 PM, Jim Winstead wrote:
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php