Hi Hope thet someone can help me with folowing
I have a mini event calender
but i want to show te even into a popup but i can't fiux it
i have here the code
echo "><a href='".$_SERVER['PHP_SELF']."?month=".$monthstring."&day=".$daystring."&year=".$year."&v=true' onclick='Popup.showModal('modal');return false;'>".$i."</a></td>";
}
echo "</tr>";
?>
</table>
<div id="modal" style="border:3px solid black; background-color:#9999ff; padding:25px; font-size:150%; text-align:center; display:none;">
<?php
$sqlEvent = "select * from terminkalender where datum_wann='".$year."-".$month."-".$day."'";
$resultEvents = mysql_query($sqlEvent);
while ($events = mysql_fetch_array($resultEvents)){
echo "Treffpunkt zeit: ".$events['treffpunkt_zeit']."<br>";
echo "Auftritt zeit: ".$events['auftritt_zeit']."<br>";
echo "Treffpunkt wo: ".$events['treffpunkt_wo']."<br>";
echo "Was: ".$events['was']."<br>";
echo "Wer geht mit: ".$events['wer_geht_mit']."<br>";
echo "Wer tanzt: ".$events['wer_tanzt']."<br>";
?>
<br>
<input type="button" value="OK" onClick="Popup.hide('modal')">
</div>
<?php
}
?>
</body>
</html>
Thanks in advice
John