Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> kilka pytanek
xblant
post 1.02.2006, 16:51:54
Post #1





Grupa: Zarejestrowani
Postów: 76
Pomógł: 0
Dołączył: 31.01.2006

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


Mam kilka pytanek co do php.
1.Czy można umieścić klasę w klasie np.
Kod
class index
{
class menu
{
//funkcje
}
class logo
{
//funkcje
}
//itd...
}

a jesli tak to w jaki sposób wywołać funkcje np. z klasy menu questionmark.gif?
2.Mam w pliku .txt dane np.
Kod
czesc|jak sie macie|xblant|

i jak zrobic aby jakas tablica "tab" zawierała dane z pliku jak to :
Kod
tab[0] = "czesc";
tab[1] = "jak sie macie";
tab[2] = "xblant";


--------------------
Go to the top of the page
+Quote Post

Posty w temacie
- xblant   kilka pytanek   1.02.2006, 16:51:54
- - Seth   Zle forum wybrales. Ad. 1) Nie Ad. 2) Pobierasz z...   1.02.2006, 17:00:27
- - xblant   thx   1.02.2006, 17:03:34


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 - 14:43