php defining variable defaults?
| From: | FARRINGTON, RYAN | Date: | Thu, 13 Feb 2003 22:11:34 +0000 |
| Subject: | php defining variable defaults? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18532@lists.php.net to get a copy of this message | ||
ok cold fusion has the ability to do a <cfparam name='' default=''>
this lets you specify a variable name to be defaulted to a value if it is
called without being defined. I usually use this for variables specified by
forms either by GET or POST. now I can't find it's equivalent in PHP.. can
anyone direct me in the correct direction?