overlordofevil Posted November 24, 2009 Share Posted November 24, 2009 Hello All, I am trying how to figure out how to open a new window when processing a html form with php variables. I know how to make a link open a new window with passing a php variable to get the specific results I want.. <a href='blanksheet.php?id=$id' onclick='window.open(this.href); return false;'>Print Sheet</a> But What I would liek to do is set up a form something like a compare screen where you can check on the items you want and it will bring those items up on a single page. My goal is to make the form with multiple items and then when the user clicks submit they are taken to a new window where the request is processed. I think this would be controlled by the form setup and the buttons but I haven't found any info on this and am hoping someone might have an idea that i can look into. Not sure if this is considered an html or php question but any help would be appreciated. Thanks Bill Quote Link to comment https://forums.phpfreaks.com/topic/182794-php-html-how-to-open-a-new-window/ Share on other sites More sharing options...
Adam Posted November 24, 2009 Share Posted November 24, 2009 ...What exactly is your question? Quote Link to comment https://forums.phpfreaks.com/topic/182794-php-html-how-to-open-a-new-window/#findComment-964834 Share on other sites More sharing options...
mikesta707 Posted November 24, 2009 Share Posted November 24, 2009 this is mostly likely a Javascript issue if you want to dynamically pop up new windows. I would advice against popping up new windows, because I personally hate it. But if you really want to, window.open() is probably the function you want to look into Quote Link to comment https://forums.phpfreaks.com/topic/182794-php-html-how-to-open-a-new-window/#findComment-964842 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.