$row=mysql_fetch_assoc($ven)) {
$fotky[$row['name']][]=$row['fotka'];
}
$ven=mysql_query("SELECT aux,nazev,koment,rok FROM akce ORDER BY stamp");
while($row=mysql_fetch_assoc($ven)) {
$acs[] = explode(',',$row['aux']);
$acs[]['nazev']=$row['nazev'];
$acs[]['koment'] = str_replace($array, "
", $row['koment']);
$acs[]['rok']=$row['rok'];
}
?>