ok I found a javascript... however I am having a hard time implimenting the java code into php. Here is what I have.
In the head tag I have my java script:
<SCRIPT LANGUAGE="Javascript">
<!---
function decision(message, url){
if(confirm(message)) location.href = url;
}
// --->
</SCRIPT>
in the php section I have this code:
echo '<td class="style6"><a href="javascript:decision("Do you want to delete this file?",
","delete.php?id='.$rows['id'].'">Delete</a>';"</td></tr>";
But when I click on the delete link - nothing happens. In the status bar of my browser in says "Error on Page"
Can someone tell me what I am doing wrong?