Hello,
can anyone advise as to how can I delete a message on an html page using checkboxes.
Scenerio is that I want my homepage to display a message saying that user A has sent me a new message when ever user A send a new message.
as you can see in this code
echo"
<table width='100%' border='0'>
<tr>
<td width='25%'><div align='left'>
<input type='checkbox' name='checkbox' value='checkbox'>
</form>
<a href=\"#\"><img src='images\J.JPG' width='40' height='47' border='0' onclick = \"clicked($sender);\" ></a></div></td>
<td width='64%'><div align='left'>".$s." has sent you a new message. </td>
<td width='19%'><div align='left'>".$d."</td>
</tr>
</table>";
where $s is the name of the sender and $d is date.
I want to delete these messages saying user A has sent you a new message by clicking a checkbox and then pressing a delete button.