New Page Spawn after form submit

They have: 3 posts

Joined: Feb 2006

Hi All,

Noobee to the forum and webmastering here. I am getting along pretty well, but I need to pointed to some technologies/scripts.

I am using PHP to intake a HTML form, box and fill my new PHP page with data from MySQL.

My problem, When I am the USER I am always annoyed when I click on a SUBMIT button and the form takes me to the new page, forcing me to lose the page I just came from (yes I can click BACK but I want both up at same time)

What is the best way to click on the SUBMIT button, and then have a whole new PHP/HTML page pop up (not a annoying popup window, but a full web page)?

Thanks in Advance,

Moonbeachx

They have: 3 posts

Joined: Feb 2006

Update for clarification, I know about "target="_blank"?" but where does that code go in a FORM submit, I have this simple .html page form

how do I get the "poss_15g.php" to spawn a new window?

They have: 3 posts

Joined: Feb 2006

OK, I got the message: I am real close to making it happen BUT I then encountered this:

"Web-savvy users won't find all popups offensive, but extra browser windows are often undesirable and never necessary. Window management is a task that should be left to the user rather than the web designer or developer – everyone already know how to use the back button and experienced users are perfectly able to open new windows explicitly when desired, e.g. by shift-clicking on a link or using ctrl+n."

I LOVE it when a pop up (only when I submit) so I dont have to click back. But what the heck, I'll go with the flow.

Busy's picture

He has: 6,151 posts

Joined: May 2001

New windows are evil, especially when your browser has tabs.
How about offering a choice, use the same page the form is on for validation and results and if everything ok offer links to go fourth and do whatever or return to previous page whether it be the same page without the submitted results.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.