I am making a table for booking time, I have put times as checkboxs, checboxs are all from one form, and I wand that user can select one checkbox and after submit the form, checkbox becomes unselectable or disappears from. I tried to validate if data is found on database and then make it disappear or unselecteble, but it was not successful.
my table looks like this:
https://i.stack.imgur.com/2lu4L.jpg
Actually date and time come from another table on database. This is my php code for each check bos:
echo"
<input type='radio' name='datetime' value='". $row['day1']." ".$row['time1']."'>
<p>". $row['day1'] ,"</p><br/>". $row['time1'] ."
can you please help me :-\
If I got your question right you meant something like this?