Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] jak wrzucic to w petle?
AndyPSV
post 18.01.2011, 18:50:37
Post #1





Grupa: Zarejestrowani
Postów: 393
Pomógł: 5
Dołączył: 6.02.2003
Skąd: The.Luciferian.Doctrine.p
df

Ostrzeżenie: (30%)
XX---


  1. $range = 5000;
  2. if($r['id'] <= $range) $sub_dir = '1';
  3. if($r['id'] > $range AND $r['id'] <= $range*2) $sub_dir = '2';
  4. if($r['id'] > $range*2 AND $r['id'] <= $range*3) $sub_dir = '3';
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 Wersja Lo-Fi Aktualny czas: 24.07.2025 - 16:09