Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Co jest szybsze?
vala
post
Post #1





Grupa: Zarejestrowani
Postów: 123
Pomógł: 0
Dołączył: 12.01.2005

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


Witam

zalozmy ze mam tablice
  1. <?php
  2.  
  3. $table[0] = '..........jakis tam string...................';
  4. $table[1] = '..........jakis tam string...................';
  5. $table[2] = '..........jakis tam string...................';
  6. $table[3] = '..........jakis tam string...................';
  7. $table[4] = '..........jakis tam string...................';
  8. $table[5] = '..........jakis tam string...................';
  9.  
  10. zmienna
  11. $table.=  '..........jakis tam string...................';
  12. $table.=  '..........jakis tam string...................';
  13. $table.=  '..........jakis tam string...................';
  14. $table.=  '..........jakis tam string...................';
  15. $table.=  '..........jakis tam string...................';
  16. $table.=  '..........jakis tam string...................';
  17.  
  18.  
  19. ?>
a

co jest szybsze
czy zapisywanie poszczegolnych elementow tablicy do plikow (petla for)
czy moze wklepywanie wszystkiego do jednego stringa a potem prosty fwrite>?

z gory dzieki za odpowiedz
pozdrawiam.

Ten post edytował vala 23.06.2005, 16:33:00
Go to the top of the page
+Quote Post

Posty w temacie
- vala   Co jest szybsze?   22.06.2005, 22:08:56
- - dr_bonzo   A co bedziesz potem robil z tymi odczytanymi danym...   22.06.2005, 22:13:29
- - vala   odczyt nie jest wazny pytalem o zapis:)   22.06.2005, 22:14:43


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: 23.08.2025 - 10:17