unset($_GET['i'])
| From: | Bill | Date: | Thu, 04 Sep 2008 19:47:31 +0000 |
| Subject: | unset($_GET['i']) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-279521@lists.php.net to get a copy of this message | ||
Hi
given page1 has a list of goods and sends $i as a variable into a link to page2, ie, <a href="page2.php?i=3">send</a>
Page2 adds the items recieved in an array.
In page2 how can I unset the $_GET['i'] so that if I press F5(refresh) it doesn't add the same item to the array ?
I tried unset($_GET['i']) but no success.
Thanks