pop up and redirect to main page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Think Pink
Forum Contributor
Posts: 106
Joined: Mon Aug 02, 2004 3:29 pm

pop up and redirect to main page

Post 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
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

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