Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Allowed memory size. O co chodzi?
thomson89
post
Post #1





Grupa: Zarejestrowani
Postów: 1 178
Pomógł: 51
Dołączył: 7.01.2009
Skąd: Gdańsk

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


Czyli o co chodzi w tym błędzie, nigdy się z nim nie spotkałem. Proszę o pomoc!

Kod
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 133955563 bytes) in "XXX" on line 28

  1. $query = 'SELECT * FROM `dzialy`';
  2. $results = mysql_query($query);
  3. $tableWithResults = mysql_fetch_assoc($results);
  4.  
  5. $resultWithOptions = '<option value="nic">-- wybierz --</option>';
  6. while($result = $tableWithResults){
  7. $resultWithOptions .= '<option>'.$result['nazwa'].'</option>'; //28 linia
  8. }


EDIT: Wyciąłem ścieżkę pliku.

Ten post edytował thomson89 21.11.2009, 12:25:37


--------------------
Sklep 70%
Go to the top of the page
+Quote Post

Posty w temacie


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 Aktualny czas: 20.08.2025 - 04:41