Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Co oznaczaja takie wyrazenia ?
-Gość-
post
Post #1





Goście







  1. <?php
  2. $x = 1;
  3. for($i = 1; $i <= pow($size, 2); $i++){
  4. $a = "rowIndex_" . $i;
  5. for($ii = 1; $ii <= pow($size, 2); $ii++){
  6. ${$a}[$ii] = $x; 
  7. $x = $x + 1;
  8. }
  9. $allRows[$i] = $$a;
  10. }
  11. ?>


Dokladnie chodzi mi o ${$a}[$ii] = $x; i $allRows[$i] = $$a; - niedawno widzialem to gdzies w manualu, ale teraz nie moge znalazc
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 561
Pomógł: 6315
Dołączył: 27.12.2004




http://pl.php.net/manual/pl/language.variables.variable.php
Go to the top of the page
+Quote Post
-Gość-
post
Post #3





Goście







O to mi chodzilo @nospor. Dzieki. Temat mozna zamknac.
Go to the top of the page
+Quote Post

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: 22.12.2025 - 23:40