~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.
Hi i'm new to the php world
i'd like to know is it possible to submit data from a html form to a url then open it in a new window
here is an example of the code i've got so far but it keeps opening in the same window
~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.
Yes it is possible, but it has nothing to do with PHP (which only runs on the server).
If you put a "target" attribute in your <form> tag and give it a value of "_blank" or "_new", it should open in a new window. I'm not sure how compliant that is to XHTML standards though.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.