Reputation: 5302
I have a link to pageA. I want the user to go to pageB passing by pageA in a unique link. How is it possible? To go to pageA by clicking a link I do the following:
<?php header('Location: http://www.pageA.com/'); ?>
Upvotes: 1
Views: 56
Reputation: 1831
I think you need to write <?php header('Location: http://www.pageB.com/'); ?>
inside page A
Upvotes: 3