Hello,
Can anybody correct my abismal html coding?
I have a small Java script which opens a browser window and then shrinks it. Below is the TOP of my script, there is nothing before the following lines.
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<?php include("dbconnect.php"); ?>
I have a href tab within my php tags that invokes the script as follows:
href=\"../comment_window.php?result_id=$row[result_id]\ onClick="MM_openBrWindow('comment_window.php','comment','width=20,height=20')">Comments</a></font></td>
</tr>
I get a parse error as a result of this.
Also, do i need to put html header tags at the top of my php script 'around' the first script?
Can anybody set me str8?
Cheers