Chyba cos zle zrobilem bo mi zawiesza przegladarke :-( Gdzi ejest błąd ?
<?php function separator($ile) { $srodek = ''; for ( $i=0; $i=$ile; $i++) { $srodek .= "<img src="image/s.gif" alt="S" width="15" height="15" />"; } return $srodek; } ?>
<?php function separator($ile) { $srodek = ''; for ( $i=0; $i=$ile; $i++) { $srodek .= "<img src="image/s.gif" alt="S" width="15" height="15" />"; } return $srodek; } ?>
<? function separator($ile) { $separator = '<img src="image/l.gif" alt="L" style="width:43px;height:15px;" />'; for($i=0;$i<$ile;$i++) { $separator .= '<img src="image/s.gif" alt="S" style="width:15px;height:15px;" />'; } $separator .= '<img src="image/p.gif" alt="P" style="width:41px;height:15px;" />'; return $separator; } //przyklad ?>