Jump to content

php / HTML - How to open a new window


overlordofevil

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.