ok...I wanted to have a confurm box popup when you click to delete a post....here is my code:
echo "
<div align='center'>
<a href='guestbookdelete.php?id=$id' onClick='javascript:return confirm('Delete message?')'>Delete</a>
<table width='50%' height='110' border='0' cellpadding='0'cellspacing='0'>
<tr>.......rest of table...
now, for some reason, the link works, but no popup box appears to confirm it...its like th ejavascript isnt running in the echo....any ideas??