Hi,
I want to make a query and check if data is exists already on my
is_availble table on calendar db to disappear checkbox.
I have 16 checkboxs and each time only one can be selected, and I want it disapperas
after it has been selected once.
Hope you can help me with this 🙂
I have this code for first checkbox.
<?php
mysql_select_db("calendar", $con);
echo"<div class='box'><div class='boxbut'>";
$query = mysql_query("SELECT * FROM is_availble WHERE datetime = .$datetime.");
if($_POST['datetime'] != ($row['day1']." ".$row['time1'])) {
echo"
<input type='radio' name='datetime' value='". $row['day1']." ".$row['time1']."'>
<d>". $row['day1'] ,"</d><br/><t>". $row['time1'] ."</t></div></div>";
}
else{
echo " ";
}
Regards