On Friday 14 February 2003 18:53, Jonas Geiregat wrote: > is it possible to do something like mail("[EMAIL PROTECTED]","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("[EMAIL PROTECTED]","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) */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php