RE: [PHP-DB] stumped-mail and database

From: Date: Mon, 06 Dec 2004 19:37:02 +0000
Subject: RE: [PHP-DB] stumped-mail and database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-37618@lists.php.net to get a copy of this message
--- "Norland, Martin" <Martin.Norland@STJUDE.ORG> wrote: > 1) change > $to = "$rsVendorJobs->Fields('Conmail')"; > To > $to = "{$rsVendorJobs->Fields('Conmail')}"; > Or just > $to = $rsVendorJobs->Fields('Conmail'); > > 2) change > $body = '$cl'; > To > $body = $cl; > Well I'm sure this is not the syntax, but since I've written it both ways I get a : Fatal error: Call to a member function on a non-object in /home/xxxxxxx/public_html/appjobb.php on line 39 Which I'm guessing means it is written correctly but now the variable doesn't exist ? Stuart

« previous php.db (#37618) next »