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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to