popup

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
border20
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 ?

thx

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

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>
</form>

this script will submit the form to file test.phpand opens this file in another window.
best regards,
Elena Mitovska,
wed_developer,
AlarIt company
http://www.alarit.com

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Beeks1965 and 12 guests