Re: Problem with returning value from function

From: Date: Wed, 27 Jun 2001 08:18:14 +0000
Subject: Re: Problem with returning value from function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55353@lists.php.net to get a copy of this message
> if ($line1){ file://This is what is in Line1 Dear ##fullname## > $line=$line1; > proce($line); > $line1=$line; > } I think you just want: if ($line1){ $line1 = proce($line1); } And, since proce won't do much with an empty $line1 anyway, you can probably get rid of the if() parts. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#55353) next »