On Tuesday 07 December 2004 18:13, Stuart Felenstein wrote: > Here is what's freaking me out ! :) > > Anywhere on the page I can do a > <?php echo $rsVendorJobs->fields('Conmail');?> > > And it will echo out the correct value, > > But! as soon as I do a > $to = $rsVendorJobs->fields('Conmail'); > > I get a "Fatal error: Call to a member function on a > non-object in /ho............" What happens when you do this: $to = $rsVendorJobs->fields('Conmail'); echo $to; echo $rsVendorJobs->fields('Conmail'); $to = $rsVendorJobs->fields('Conmail'); echo $to; -- 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-db ------------------------------------------ /* BOFH Excuse #134: because of network lag due to too many people playing deathmatch */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php