On Tue, 11 Jan 2005 10:26:05 -0800 (PST), Richard Lynch <ceo@xxxxxxxxx> wrote: > There are many scripts I write which provide results for either GET or > POST data interchangably, so that links or forms can be used in the other > pages to fit in with their look/feel. When I need to come in both ways, I just do stuff like: $id = isset( $_POST[ 'id' ] ) ? $_POST[ 'id' ] : 0; $id = isset( $_GET[ 'id' ] ) ? $_GET[ 'id' ] : $id; -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php