Article View: pl.comp.lang.php
Article #489Re: return TABLICA
From: [ sis ]
Date: Tue, 21 Aug 2001 18:32
Date: Tue, 21 Aug 2001 18:32
35 lines
1703 bytes
1703 bytes
to jest prawdziwy przyklad?
a nie moze byc:
<?
#file1.php
function my_liczenie($n)
{ for ($a=0;$a<100;$a++)
// tu masz Swoj warunek
if ($warunkek==true) { break; }
// lub inny
{ for ($b=0;$b<$n;$b++)
{ $arry[$a][$b]=$a; }
}
return $array;
}
?>
<?
#skrypt
include "file1.php";
$n=10;
$wynik=my_liczenie($n);
print "<pre>";
print_r($wynik);
?>
napisz jaki masz ten warunek, albo lepiej podeslij caly skrypt na mejla.
pozdrawiam,
Kamil
--
::''::./: dEsIgn iNSPiraTioN ..::':..::.:'::...:.>>>....
:: Kazdy z nas, gdzies gleboko w srodku jest dzieckiem ::
:: Kamil sisqo(at)board.pl - http://3575206806/ ::
::,:::::,:::::::::::::::::,:::,:::,:::::::::::::::::::,::
Technical Details
Message-ID:
<3b82a92d@news.vogel.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.ipartners.pl!news.internetia.pl!news.tpi.pl!news.vogel.pl!nnrpReferences:
<3b825e99@news.vogel.pl> <9ltuo5$ne3$1@okapi.ict.pwr.wroc.pl> <3b828f7f$1@news.vogel.pl>Show Full Headers
Complete Article Headers
From: "[ sis ]" <sisqo@board.pl> Newsgroups: pl.comp.lang.php References: <3b825e99@news.vogel.pl> <9ltuo5$ne3$1@okapi.ict.pwr.wroc.pl> <3b828f7f$1@news.vogel.pl> Subject: Re: return TABLICA Date: Tue, 21 Aug 2001 20:32:26 +0200 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: as2-113.swietochlowice.dialup.inetia.pl X-Original-NNTP-Posting-Host: as2-113.swietochlowice.dialup.inetia.pl Message-ID: <3b82a92d@news.vogel.pl> X-Trace: news.vogel.pl 998418733 as2-113.swietochlowice.dialup.inetia.pl (21 Aug 2001 20:32:13 +0200) X-Complaints-To: Usenet@news.vogel.pl Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.ipartners.pl!news.internetia.pl!news.tpi.pl!news.vogel.pl!nnrp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit