--- Lon Lentz <[EMAIL PROTECTED]> wrote: > Is there a PHP version of the ColdFusion tag <CFParam>?
It has been a while since I wrote CF, but I believe
<cfparam> just does the same thing as something like this:
<cfif not isdefined("variables.foo")>
<cfset variables.foo = "default">
</cfif>
The PHP equivalent of this example is:
if (!isset($foo))
{
$foo = 'default';
}
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

