[Php-it] Intercettare array GET
Jonathan Stoppani
st.jonathan at gmail.com
Wed Aug 9 14:07:37 CEST 2006
On Aug 9, 2006, at 14:03:13, spacemarc wrote:
> 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://ch2.php.net/manual/en/function.array-key-exists.php
Ciauz,
Jonathan
More information about the Php-it
mailing list