| |
|
| |
 |
|
|
Pls help, we made this code which is working fine what how we can do php to pick the ID which we click on so we can delete , this code is only picking one ID all time,
<script type="text/javascript">
<!--
function confirmation() {
var answer = confirm("Delete entry <? echo $row['id']; ?> ?")
if (answer){
alert("Entry Deleted")
window.location = "deletemessageboard.php?id=<? echo $row['id']; ?>";
}
else{
alert("No action taken")
}
}
//-->
</script>
<?
if ($rowcolor == "000000"){
$rowcolor = "222222";
} else {
$rowcolor = "000000";
} ?>
<tr style="background-color: <? echo $rowcolor; ?>">
|
|
read more | amansingh630's blog | login or register to post comments
|
|
|
|
 |
|