Hi:
I´m not sure if this is the right forum,I just hope somebody could help me with this one.
I´m having a variable $row[4] holding a value returned from a mysql field and I want to be able to insert that value in a java script to open a popup window.
This is the java script function:
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
and here the function call:
<a href=\"#" onClick=\"MM_openBrWindow('$row[4]','','width=520,height=360')\">
where $row[4] is the varaible holding the mysql field value.
If I do this
<a href=\"$row[4]" onClick=\"MM_openBrWindow('$row[4]','','width=520,height=360')\">
it will open a new browser window but not the popup window.
Thanks a lot in advance.