little help here please....I was writing a php script for a message system. comments are displayed in php with the use of $comments through a function. I was trying to use a light box in javascript, so that user will have the option to delete each comment. How can I combine the following php script with the javascript code:
<?php
$comments .= " <font size='3'> ?>
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">**Delete**</a>
<div id="light" class="white_content">
<form action="<?php=$_SERVER['PHP_SELF'];?>" method="post">
<input type="submit" name="submit_1" value="Delete Photo" >
</form>
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'"><button> Cancel </button></a></div>
<div id="fade" class="black_overlay"></div>
<?php $comments .= "</font>"; ?>