Re: No load variables on refresh
| From: | Peter Houchin | Date: | Wed, 09 Apr 2003 02:43:50 +0000 |
| Subject: | Re: No load variables on refresh | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142991@lists.php.net to get a copy of this message | ||
well could still do it that way if you really wanted to .. using a temp table inside the db..
Chris wrote:
Sorry, I should have expnded a bit on this myself. I'm adding products to a cart, upon browser refresh it re-adds the products. -----Original Message----- From: Peter Houchin [mailto:php@vfsa.com.au] Sent: Tuesday, April 08, 2003 10:18 PM To: Peter Houchin Cc: Chris; php-general@lists.php.net Subject: Re: [PHP] No load variables on refresh to expand on that page 1 send data page 2 use data eg insert to DB redirect to page 3 page 3 display data that way the end user only see's pages 1 & 3 and when they refresh they only refresh page 3 that may consits of sql queries to display the data and that way when the page is refreshed it's only running the sql query to retreve the data rather than reinserting & then displaying it Peter Houchin wrote:-- Peter Houchin Sun Rentals STR Manager Phone: 03 9869 6452 Fax: 03 9866 2511 Mobile:0438 789 220 peter.houchin@sunrentals.com.au http://www.sunrentals.com.au/send your variables/what eva to another page .. do your thing .. redirect to another page and echo the results Chris wrote:-- Peter Houchin Sun Rentals STR Manager Phone: 03 9869 6452 Fax: 03 9866 2511 Mobile:0438 789 220 peter.houchin@sunrentals.com.au http://www.sunrentals.com.au/How do i stop variables from re-adding upon browser refresh of a page?