|
Posted by Erwin Moller on 03/23/07 14:26
shimmyshack wrote:
> 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!
Hehe, no problem of course.
I think it is funny to see how we both gave ALMOST the same example. ;-)
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|