|
Posted by shimmyshack on 03/23/07 13:47
On 23 Mar, 13:46, "shimmyshack" <matt.fa...@gmail.com> wrote:
> On 23 Mar, 13:30, "Sonnich" <sonnich.jen...@elektrobit.com> wrote:
>
> > Hi
>
> > if I have an array of [a, b, d] and want to insert c, what is the way
> > then?
>
> > Sonnich
>
> $array = array('a','b','d');
> $array[] = 'c';
>
> //and if you want the array to be sorted alphabetically then use
> sort($array);
>
> //view result
> //print_r($array);
you just pipped me Erwin - soz!
Navigation:
[Reply to this message]
|