Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> z pliku do tablicy
Dan
post
Post #1





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 16.06.2002

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


Jak zrobić aby dane z pliku o treści "Element0","Element1","Element2" umieścić w tablicy tak, że $Tablica[0]="Element0", $Tablica[1]="Element1", $Tablica[2]="Element2" ?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Cudi
post
Post #2


Administrator planeta/IRC


Grupa: Przyjaciele php.pl
Postów: 385
Pomógł: 0
Dołączył: 19.04.2003
Skąd: Zabrze

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


Jeśli dobrze zrozumiałem masz tam dane które są rozdzielone jakimś znakiem... Jeśli tak to:
a) file();
(IMG:http://forum.php.pl/style_emoticons/default/cool.gif) explode();
c) http://forum.php.pl/search.php
d) http://forum.php.pl/search.php
e) http://forum.php.pl/search.php

A jeśli źle zrozumiałem to napisz dokładniej, daj jakiś kod lub strukture pliku txt..
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 6.10.2025 - 10:20