Page 1 of 1

pop up and redirect to main page

Posted: Wed Sep 01, 2004 6:44 pm
by Think Pink
hy.

To site admin:
I'm not shure if this is the corect place to put this, but if is not, pls excuse.

i found myself in trouble, and not really know the principle for this.

I have a page index.php with products. each product has a modify link.
when i klick the modify, a popup opens where I am supposed to insert the new data. After i'm finished I click send and data is processed in process_data.php. The pop up closes and the main page (index.php) is reloaded. Could somebody help me with this. Don't looking for the script, I'm looking for advice on how I should do it.
Thx.

ps. a good example is http://www.zend.com/phorum/list.php?num=3

Posted: Wed Sep 01, 2004 6:51 pm
by tim
the pop-up would be javascript coded, the redirect could be either javascript or php.

look into header() at php.net

or search the client side, i posted a slew of pop-up and redirect using JS.

hope this helps