Bill
2008-09-04 19:47:31 UTC
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
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php