mysql - PHP calendar click function -


i making calendar in php, i'm new in php btw. ask how can add clicks in days of calendar, , when clicked open window of events of day clicked. , show date , content coming mysql

i got calendar from: http://www.webinfopedia.com/how-to-create-php-calendar.html

please help

edit

i'm trying way, sending code information:

<script type="text/javascript"> function eventwindow(url) { event_popupwin = window.open(url, 'event',  'resizable=yes,scrollbars=yes,toolbar=no,width=400,height=400'); event_popupwin.opener = self; } </script> 

and

   echo "<td valign=\"top\"><a href=\"java script:eventwindow('event.php?m=".$month."&d=".$dayarray["mday"]."&y=$year');\">".$dayarray["mday"]."</a><br/>"; 

no sucess!

you need javascript that. php fetch data display, javascript make pop-up , ajax data.

i suggest learn javascript/html. remember php server-sided scripting. if appears on client's side, can't use (unless need tasks done in server, of course).


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -