i have one variable like this
$groupid=$_GET['groupid'];
and in the same page i have one button like this..
<td>
<a href="assigncoursedelete.php?id=<?php echo $row->id;?>" onclick="return confirm('Are you sure you wish to delete this Record?');">
<div style="background-color:#CD5C5C; width:30px; padding-left:9px; padding-top:3px; height:28px; color:white">
<em class="fa fa-trash"></em></div>
</td>
and i want to pass that $groupid variable in the above URL..
I tried but its not passing the variable to the delete page..
Can anyone help me how to do this..
Thanks in advance..