Hi, I am trying to use a javascript for a pop up.
The script itself and the beginning html are in the beginning of my page with my php code in the middle.
When I combine the function with php, I am getting a parse error or a T_STRING error from the php code.
<SCRIPT LANGUAGE="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
// -->
</SCRIPT>
other html code...............
some php code................
while {
echo ("<td><a href='#' onClick='MM_openBrWindow('pics/",
. $row["fn18"] .
," ',' ','width=650,height=650') ">Pics</a></td>\n");
}
I think that the problem maybe with the quotes but I am not sure.
Does anyone have any ideas as to what is wrong?
Thanks!