[Php-it] Intercettare array GET

spacemarc spacemarc at gmail.com
Wed Aug 9 14:03:13 CEST 2006


ciao.
Devo fare un confronto per intercettare non il valore passato via GET
ma il suo nome cioè nella stringa $_GET['user_id'] devo prendere
'user_id' e non il suo valore (che può essere 1, 12, 654 ecc...)

Ho fatto un controllo del genere:

elseif (!isset($_GET) || $_GET != 'user_id') {

ma non si verifica mai e mi stampa ciò che non dovrebbe stampare.

Dove sbaglio?


-- 
http://www.spacemarc.it


More information about the Php-it mailing list