My html is generated via php and populated via a lengthy sql query. I want to be able to open current page in a new window. Is there a way to have a button to capture the source code of the current page and open a new window...
You'll have to use a combination of HTML and JavaScript for this... but to be honest, your best bet is to have the same PHP write the same information out again to a popup, rather than trying to capture everything client-side.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.