Date: 11/07/00
- Next message: Jason Stechschulte: "RE: [PHP-DB] and pop-up windows"
- Previous message: Stacy Hunter: "[PHP-DB] and pop-up windows"
- Next in thread: Jayme Jeffman Filho: "Re: [PHP-DB] and pop-up windows"
- Reply: Jayme Jeffman Filho: "Re: [PHP-DB] and pop-up windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 11:47 7-11-00 -0500, Stacy Hunter wrote:
>This is frustrating and probably the only time I have concluded that it
>just can not be done...
<FORM ACTION=somepage.html METHOD=post TARGET=_new>
<INPUT TYPE=submit name=a VALUE=a>
<INPUT TYPE=submit name=a VALUE=b>
</FORM>
somepage.html:
<?
if ($a == "a") {
// do stuff
} elseif ($a == "b") {
// do stuff
}
?>
P.S. notice the target in the form :)
Greetz,
Wico
>I need to be able to both open a new window (I guess using javascript) and
>to be able to discern which button has been pushed so that the associated
>number gets inserted into a record without leaving the current page.
>
>PHP won't take the javascript variable without posting but I need
>javascript to open the new window. Nor can I just use javascript to insert
>into the table.
>
>Can anyone see anything I am overlooking?
>
>TIA
>
>- Stacy
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-db-unsubscribe <email protected>
>For additional commands, e-mail: php-db-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Stechschulte: "RE: [PHP-DB] and pop-up windows"
- Previous message: Stacy Hunter: "[PHP-DB] and pop-up windows"
- Next in thread: Jayme Jeffman Filho: "Re: [PHP-DB] and pop-up windows"
- Reply: Jayme Jeffman Filho: "Re: [PHP-DB] and pop-up windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

