![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 13.05.2020 Ostrzeżenie: (0%) ![]() ![]() |
Cześć
Możecie mi podpowiedzieć jak wyświetlić dane z tej tablicy ? nazwa tablicy to $user Odpowiedź print_r($user); Array ( [cpanelresult] => Array ( [module] => Variables [result] => Array ( [status] => 1 [warnings] => [metadata] => Array ( ) [messages] => [data] => Array ( [user] => thor ) [errors] => ) [func] => get_user_information [apiversion] => 3 ) ) chcę wyświetlić na stronie tylko dane z Array ( [user] czyli " thor" Pomożecie ? |
|
|
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 36 557 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
Lektura obowiazkowa
https://www.php.net/manual/en/language.types.array.php Example #6 Accessing array elements Przenosze -------------------- "Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista "Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 20:15 |