";
while($list = mysql_fetch_row($result))
{ $txt = $photo = null;
if($list[4] != null) { $txt = "
" . str_replace(';', ';
', $list[4]) . "
"; }
if($list[5] != null) { if($txt == null) { $txt = "
"; }
$txt = $txt . "" . str_replace(';', ';
', $list[5]) .""; }
for ($i=$list[6]; $i>0; $i--)
{ $photo = $photo . ""; }
echo "\n\n$list[1]
Область применения: $list[3]
$photo $txt |
"; }
echo "\n
";
mysql_free_result($result);
mysql_close($link);
?>