Please help! How to use PHP snippet for html?
-
Please help!
A small php file at bottom is to open a pop up window.
How to use it in when click on a link.For example, if this is javascript, it looks like this in html:
Open a popup windowHow to call the PHP snippet in html tag???
Please help!
fileName: test.snippet.php
<?php
function newPopup() {
url = ‘https://www.yahoo.com’
popupWindow = window.open(
url,’popUpWindow’,’height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes’)
}
?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Please help! How to use PHP snippet for html?’ is closed to new replies.