if you visit here http://www.joomusic.info/joosilver.php you can understand my concept. i have set all script and calender and i make table in the mysql database table name is Firstname and there are 2 columns in this table 1, Drawtime and 2, winningnumbers. and i have made connect.php file for connected the databse
this is half script because i dont no how i make it full
<script language="JavaScript" type="text/javascript" src="calendar/calendar.js"></script>
<!--<strong><div align="right" id="timeval" style="color:#FF6600; font-family:Arial, Helvetica, sans-serif">--:--:--</div></strong>-->
<table width="420" border="1" >
<form name="showdraw" action="ooo.php" method="post">
<tr bgcolor="#FF6600">
<td><script> DateInput('cdate', true, 'YYYY-MM-DD'); </script></td>
<td> <input type="submit" value ="Show"> <input type="hidden" value="Show" name="action"> </td>
</tr>
<tr bgcolor="#FF6600">
<td><h2>Draw Time</h2></td>
<td><h2>Wining Number</h2></td>
</tr>
</form>
<?php
include('connect.php');
now after this include('connect.php); which php script i add in this page then my script work like this http://joomusic.info/joosilver.php