array - and eval

From: Date: Fri, 21 Mar 2003 13:59:11 +0000
Subject: array - and eval
Groups: php.general 
Request: Send a blank email to php-general+get-140583@lists.php.net to get a copy of this message
Hi all, I'm making a bulk send mail program script. In this script I use an array: now this works fine: $send_vars = array( 'recipients' => array('me@pdd.nl','me2@pdd.nl','me3@pdd.nl') ); however the recipients are hardcoded in the script, so I'm trying to catch these in a variable $emailadress: $emailadress=array('me@pdd.nl','me2@pdd.nl','me3@pdd.nl') ; $send_vars = array('recipients' => $emailadress); However this does not work. what is going wrong here?? thx if you can help me! many regards WIlbert Enserink ------------------------- Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl info@pdd.nl -------------------------

« previous php.general (#140583) next »