Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 32
Joined: Tue Jan 28, 2003 10:19 am
Location: Québec

Tue Feb 18, 2003 1:20 pm

I have a form with a submit button, when the submit button is clicked, i want another window to appear as a popup. And i need php variables to be passed to this popup.

How do i do this ??
anyone have any ideas ?


Elena Mitovska
New php-forum User
New php-forum User
Posts: 13
Joined: Tue Nov 12, 2002 12:11 pm
Location: Ukraine

Wed Feb 19, 2003 3:25 am

You just need to specify "target" attribute of form as "blank"
for example

<form action="test.php" method="post" target="_blank">
<input type=text name=text1>
<input type=submit>

this script will submit the form to file test.phpand opens this file in another window.
best regards,
Elena Mitovska,
AlarIt company

Post Reply