Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> dzialania na tablicach
palermos
post 4.10.2006, 09:57:42
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 27.09.2006

Ostrzeżenie: (0%)
-----


Mam taką tablice

Kod
Array
(
        [1] => Array
        (
            [id] => 1
            [data] => 2006-09-21
            [kwota] => 150.06
        )

    [2] => Array
        (
            [id] => 1
            [data] => 2006-10-03
            [kwota] => 4812.23
        )

    [3] => Array
        (
            [id] => 1
            [data] => 2006-10-04
            [kwota] => 3484.58
        )

    [4] => Array
        (
            [id] => 1
            [data] => 2006-10-05
            [kwota] => 460088.92
        )

    [5] => Array
        (
            [id] => 2
            [data] => 2006-10-01
            [kwota] => 123.00
        )

    [6] => Array
        (
            [id] => 2
            [data] => 2006-10-05
            [kwota] => 913547.00
        )

    [7] => Array
        (
            [id] => 2
            [data] => 2006-10-10
            [kwota] => 503552.64
        )

    [8] => Array
        (
            [id] => 2
            [data] => 2006-10-13
            [kwota] => 2981869.78
        )

    [9] => Array
        (
            [id] => 2
            [data] => 2006-10-15
            [kwota] => 11128.43
        )

    [10] => Array
        (
            [id] => 2
            [data] => 2006-10-25
            [kwota] => 13695.23
        )

)


Wyswietlając tabele ma byc posortowana po dacie (a ta tablica nie jest posortowana a nie wiem jak sie sortuje tablice względem danej kolumny) ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 10:50