Re: mail question

From: Date: Thu, 13 Feb 2003 12:30:13 +0000
Subject: Re: mail question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135425@lists.php.net to get a copy of this message
On Friday 14 February 2003 18:53, Jonas Geiregat wrote: > is it possible to do something like > mail("mail@mail.com","subject","hello > if($a){ return andreas; }"); > or what would be the best solution for this ? Try it. I would prefer: if ($a) { $name = 'andreas'; } else { $name = ''; } mail("mail@mail.com","subject","hello $name"); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Seize the day, put no trust in the morrow! -- Quintus Horatius Flaccus (Horace) */

« previous php.general (#135425) next »