Hi all,
What's the best way to implement functions like 'add to basket' or 'add to wishlist' and so on. I mean: you are on a page with detail information about a product. If the user clicks the link for 'add to basket' I have to perform a piece of script and then go back to the detail page of the given product. But clicking on this link leads me away form the page... I was thinking of using $HTTP_REFERER i the "ad_to_basket.php" page in order to retrieve the last url, but now I don't know how to go back to this detailpage, is there a php command for this, or is my approach totally wrong?? Any comments would be appreciated, regards. Wilbert Enserink ------------------------- Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl [EMAIL PROTECTED] -------------------------