Re: [PHP] Object of class stdClass could not be converted to string

2009-11-30 Thread LinuxManMikeC
On Mon, Nov 30, 2009 at 10:27 PM, John Taylor-Johnston wrote: > Good grief. It doesn't like printing an INT field like as if it were a > string?? > > I looked at: http://php.ca/manual-lookup.php?pattern=stringtoint like I > might of in Delphi :)p > >    echo " $mydata->2010\n"; >    echo " $mydata

[PHP] Object of class stdClass could not be converted to string

2009-11-30 Thread John Taylor-Johnston
Good grief. It doesn't like printing an INT field like as if it were a string?? I looked at: http://php.ca/manual-lookup.php?pattern=stringtoint like I might of in Delphi :)p echo " $mydata->2010\n"; echo " $mydata->2009\n"; Is this something new in PHP? Geez. John -- PHP General Ma