Defining Variables to use with a Function

From: Date: Fri, 24 May 2002 17:45:18 +0000
Subject: Defining Variables to use with a Function
Groups: php.general 
Request: Send a blank email to php-general+get-99102@lists.php.net to get a copy of this message
Hi how can i set a variable defining an email address in this function ? Function SetTo($to) { if (strlen($to)<=0) return $this->Error(1, '"to" too short'); if (strlen($to)>=129) return $this->Error(1, '"to" too long'); $this->mailto[]=$to; return true; } -chris

« previous php.general (#99102) next »