Re: How can I destroy parameters by page
| From: | listas@uakari.com | Date: | Fri, 25 Mar 2005 09:35:30 +0000 |
| Subject: | Re: How can I destroy parameters by page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211552@lists.php.net to get a copy of this message | ||
Use unset()
unset($_GET['item']);
unset($_GET['ac2']);
if you want to destroy the value and its name in the same $_GET array.
or unset($item); if you want to destroy another variable, not related to $_GET
You can use the same with $_POST...
Devta.
IHow Can I destroy some variable that I pass by url, exmple: http://webadmin/paginas/personalidades.php?ac2=delete&item=18# then when i get the varibale ac2 and item, I want to delete the value of this variable. how can I do?___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es