> -----Original Message----- > From: Richard Whitney [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 1:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] RE: Anew set of eyes > > > Can you folks help me out b y looking at this code? > > It all of a sudden is not grabbing the email address from the DB, yet > array_count_values displays it nicely.
I always use the curly brace assist on arrays in double quotes. It's the proper way. And you ought to single quote the index, so it's like: $mailheaders = "From: {$row_c['customers_firstname']} {$row_c['customers_lastname']} <{$row_c['customers_email_address']}>"; If you do that to all of your array references, and set error_reporting to E_ALL, you'll find your typo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php