Re: form problem (?)
- From: Arjen <arjen@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 00:55:54 +0200
$wiersze=mysql_num_rows($result);
for ($i=0;$i<$wiersze;$i++) {$wiersz = mysql_fetch_array($result);}
why are you fetching the array $wiersze times ??
It's 01:00 here so I hope im correct :-p try this:
$wiersze=mysql_num_rows($result);
$wiersz = mysql_fetch_array($result);
for ($i=0;$i<$wiersze;$i++)
{
// do stuff
print_r($wiersze[$i]);
}Btw I like this .... im keeping this one !!
$result = mysql_query($query) or die ("Zapytanie zakonczone niepowodzeniem");.
- Follow-Ups:
- Re: form problem (?)
- From: Stefan Rybacki
- Re: form problem (?)
- References:
- form problem (?)
- From: Konrad Tuszkowski
- form problem (?)
- Prev by Date: Re: PHP advantage.
- Next by Date: installed on SUSE 9.1 but not working -- help?
- Previous by thread: form problem (?)
- Next by thread: Re: form problem (?)
- Index(es):