if (isset( $_GET['id'])) >>How do I check for the presence of an optional $_GET param without >>throwing a "Notice: Undefined index" when the param is not present? >> >>Tried all three of these, they all produce the Notice when the param is >>not passed: >> >>if ($_GET['id']) >>if ($_GET['id'] != "") >>if (isset $_GET['id']) >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, visit: http://www.php.net/unsub.php >>
- [PHP] How to check for a $_GET without throwing a Notice? Brian Dunning
- Re: [PHP] How to check for a $_GET without throwing a ... Richard Davey
- Re: [PHP] How to check for a $_GET without throwing a ... John W. Holmes
- [PHP] File Upload within form Daniel Clark
- [PHP] File Upload within form Tom Chubb
- [PHP] Re: File Upload within form Torsten Roehr
- RE: [PHP] How to check for a $_GET without throwin... Rick Fletcher
- Re: [PHP] How to check for a $_GET without throwing a ... Burhan Khalid
- [PHP] Re: How to check for a $_GET without throwing a ... Justin Patrin
- Re: [PHP] How to check for a $_GET without throwing a ... Tyler Replogle