1. The window size opened by the html hyperlink
2. If in php , there are many quotation marks and it is difficult to remove them. You can use the following method:
$openNew="onclick=".'"'."javascript:window.open('host_graphics.php?host_id=$host_id&host_address=$host_address','','height=500,width=600, top=300,left=300,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')".'"';
echo "
$host_name | "; //Click on the host name to view the specific information of the selected host
Tip: onclick="javascript:window .open('12.php','','height=500,width=600,top=300,left=300,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status =no')"
The file can be followed by the value of the variable, such as
host_graphics.php?host_id=$host_id&host_address=$host_address
In this case, the new You can use GET to get the value in the window.
3. Example: