0

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

Edited by johnnyd1963: n/a

2
Contributors
3
Replies
6
Views
6 Years
Discussion Span
Last Post by tomato.pgn
0

Thanks for your link

it's only one problem left sometimes i have more event on one day
and these events wil show outside of the popup.
but i think i can fix it

so thanks

0

Thanks for your link

it's only one problem left sometimes i have more event on one day
and these events wil show outside of the popup.
but i think i can fix it

so thanks


If Your problem is solved then mark the thread as solved....

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.