You're definitely going to be using javascript to handle this.  The
functionality that you are trying to create is a Modal window (
http://en.wikipedia.org/wiki/Modal_window).  I create this same type of
functionality using jQuery (http://jquery.com/) and Thickbox (
http://jquery.com/demo/thickbox/).
You will basically pop up the window in Thickbox, which is really not a new
window, just a div that overlays the existing window.  You'll also want to
make sure you set modal=true.  Now the user has to interact with the
update.php page that you popped up in the Thickbox before they return to the
underlying screen.

Tom Friedhof

On Dec 18, 2007 10:23 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:

> hi friends,
>
> i have two pages: list.php and update.php
>
> list.php will have a hyper link that when click on, it will open a new
> window for user to update info.  once user clicks update button on
> update.php page, i want to close update.php and return to list.php.
>  however if user doesn't click update button, i don't want user to go back
> to list.php.  in other word, freeze up list.php until user closes or
> clicks update button on update.php.
>
> is this possible to do with php?
>
> thanks

Reply via email to