![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 651 Pomógł: 3 Dołączył: 31.01.2011 Skąd: Warszawa Ostrzeżenie: (10%) ![]() ![]() |
Witam serdecznie,
kilka lat temu mialem ten sam problem i go ladnie rozwiazaliscie mi tutaj, to bylo dawno sam juz nie pamietam jak tego szukac. mam tak:
i teraz tablica $i przyjmie 0 i 1. to wiemy, ale jak ma wyswietlic prawidlowe pozycje tylko administratorow, czyli tych ktorych $type == "admin"? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 651 Pomógł: 3 Dołączył: 31.01.2011 Skąd: Warszawa Ostrzeżenie: (10%) ![]() ![]() |
E_WARNING : type 2 -- file(): open_basedir restriction in effect. File(./../db/users.csv) is not within the allowed path(s): (main/) -- at line 9
E_WARNING : type 2 -- file(./../db/users.csv): failed to open stream: Operation not permitted -- at line 9 E_WARNING : type 2 -- array_map(): Argument #2 should be an array -- at line 9 E_WARNING : type 2 -- array_filter() expects parameter 1 to be array, null given -- at line 12 E_WARNING : type 2 -- array_filter() expects parameter 1 to be array, null given -- at line 13 E_WARNING : type 2 -- array_filter() expects parameter 1 to be array, null given -- at line 14 Zarejestrowani Administratorzy (0) E_WARNING : type 2 -- Invalid argument supplied for foreach() -- at line 21 czyli problem jest w "file('./../db/users.csv')" bo jak w php fiddle dalem pelna sciezke juz bylo ok |
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.10.2025 - 07:32 |