ВНОСИТЕЛИ
 ВСИЧКИ ГРАДОВЕ 
"; echo "".$row['town']."
"; }elseif( $i >= ($pi + 1) ){ if( ($i == ($pi + 1)) or ($i == ($pi + $pi + 1)) ) echo ""; } $i++; } ?>
"; echo "".$row['town']."
"; if( $i == $num_rows ) echo "
 ВСИЧКИ ВНОСИТЕЛИ за град  
'.$row['namebg'].' ('.$row['nameen'].')'; $sSQL = "SELECT brand FROM brands WHERE id_imp = ".$row['id']." ORDER BY brand"; $result2 = mysql_query( $sSQL, $imp_dbh ); while( $row2 = mysql_fetch_assoc($result2) ){ $brand = $row2['brand']; $brand_list .= ''.$brand.', '; } echo '
марки: '.substr($brand_list, 0, -2).'

'; unset($brand_list); } ?>


 други градове 
"; echo "".$row['town']."
"; }elseif( $i >= ($pi + 1) ){ if( ($i == ($pi + 1)) or ($i == ($pi + $pi + 1)) ) echo ""; } $i++; } ?>
"; echo "".$row['town']."
"; if( $i == $num_rows ) echo "