[PHP-WIN] php defining variable defaults?

2003-02-13 Thread FARRINGTON, RYAN
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

RE: [PHP-WIN] php defining variable defaults?

2003-02-13 Thread Matt Hillebrand
: FARRINGTON, RYAN [mailto:[EMAIL PROTECTED]] |Sent: Thursday, February 13, 2003 4:12 PM |To: '[EMAIL PROTECTED]' |Subject: [PHP-WIN] php defining variable defaults? | | |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

RE: [PHP-WIN] php defining variable defaults?

2003-02-13 Thread FARRINGTON, RYAN
that is exactly what I was looking for!!! =) Thank you very much! -Original Message- From: Matt Hillebrand [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 4:21 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] php defining variable defaults? You could do if(!isset