<? for($x = 0; $ile = false; $x++){ // $autor = $wpis[0]; $cont = $wpis[1]; $mail = $wpis[2]; $time = $wpis[3]; $num_gg = $wpis[4]; echo' <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="346" height="123"> <tr> <td width="90" height="105" rowspan="2"> </td> <td width="250" height="19">Autor <a href="mailto:'.$mail.'">'.$autor.'</a></td> </tr> <tr> <td width="250" height="86">'.$cont.'</td> </tr> <tr> <td width="346" height="14" colspan="2">GG:'.$num_gg.'<img src="http://www.gadu-gadu.pl/users/status.asp?id='.$num_gg.'&styl=<2>"></td> </tr> </table> '; } ?>
W pliku mam zapisane wszystkie danew pliku main.dat. Wczytuje z tego pliku dane, a następnie exploduje i wychodzą mi dane jednego wpisu... W pętli for jest problem ...Chce by kod odczytał z danych wszystkie informacje i wypisywal...Pomózcie...