Evenimente

"; while ($row = mysql_fetch_assoc($sql)) { $id = $row[id]; $nume = $row[nume]; $data = $row[data]; $descriere = $row[descriere]; $code = $row[other]; $photosql = mysql_query("SELECT * FROM `photos` WHERE `event_id`='".$code."'") or die(mysql_error()); while($photorow = mysql_fetch_assoc($photosql)){ $photoid = $photorow['id']; $photoname = $photorow['file']; $display_photo .="".$nume.""; } $content .= " Nume eveniment: ".$nume." Data: ".$data." Descriere eveniment
". $descriere."
".$display_photo."
\n"; } $content .= "

"; ?>