Re: Re: Open form in new window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 March 2013 09:32, Terry Ally (Gmail) <terryally@xxxxxxxxx> wrote:
> You could echo HTML code e.g.
Which is still purely HTML and has nothing whatsoever to do with PHP.

>
> <form action="result.php" method="post">
> Number: <input id="quantity" type="text" />
> <button type="button" onclick="OpenWindow()">Submit</button>
> </form>
>
> or include it as one of your form attributes:
>
> <form action="demo_form.asp" method="get" target="_blank">
>   First name: <input type="text" name="fname"><br>
>   Last name: <input type="text" name="lname"><br>
>   <input type="submit" value="Submit">
> </form>
Again, pure HTML, and no PHP involved. Specifically, the (asp??) page
called in the form action handler will never even be aware of the fact
that the page was opened in a new window, or at least was supposed to.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux