[PHP] Defining Variables to use with a Function

2002-05-24 Thread chris reeper
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');

RE: [PHP] Defining Variables to use with a Function

2002-05-24 Thread Patrick Lynch
://www.optip.com/ -Original Message- From: chris reeper [mailto:[EMAIL PROTECTED]] Sent: 24 May 2002 18:45 To: [EMAIL PROTECTED] Subject: [PHP] Defining Variables to use with a Function Hi how can i set a variable defining an email address in this function ? Function SetTo

Re: [PHP] Defining Variables to use with a Function

2002-05-24 Thread chris reeper
PROTECTED]] Sent: 24 May 2002 18:45 To: [EMAIL PROTECTED] Subject: [PHP] Defining Variables to use with a Function 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