Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing the current window

Status
Not open for further replies.

MrSandman666

Programmer
Feb 5, 2001
54
DE
Hey folks!
I use a PHP script to process some data in a pop up window.
It kinda works like this: You klick on an "edit" button and a new window opens, with my script in it. The script reads data out of a database and puts it into a form. The user can then edit this data and when he hits "save" the script puts the data back into the database and should close the window again. I just don't know how to close the window! Any ideas?
Any help is greatly appreciated. Thanks in advance.
 
Javascript:

[tt]
window.close()
[/tt]


Hope this helps.

-Vic vic cherubini
krs-one@cnunited.com
 
Yeah, I know how to do it in JS, I just wondered whether there was a way to it in PHP. I figured out how to mix JS and PHP in a good working way though.
Thanx anyways.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top