Re: append to array?
| From: | Ernest E Vogelsinger | Date: | Sat, 15 Feb 2003 11:40:47 +0000 |
| Subject: | Re: append to array? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135656@lists.php.net to get a copy of this message | ||
At 11:23 15.02.2003, JJ Harrison said:
--------------------[snip]--------------------
>I have actually rtfm and can't seem to find a function to add onto the end
>of an array. Is there a function to do it or do i need to write my own?
--------------------[snip]--------------------
array_push($the_array, $the_value_to_append);
--or--
$the_array[] = $the_value_to_append;
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/