> How do i set a default value for a url parameter ($_GET[".."]) in PHP
4.1?
> I currently have a class that sets a default global value but this
does
> not
> work in this version - the script displays an error if no url value is
> passed in the url.

if(!isset($_GET['...']))
{ $_GET['...'] == "default value"; }

---John Holmes...


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

Reply via email to