Object of class stdClass could not be converted to string
| From: | John Taylor-Johnston | Date: | Tue, 01 Dec 2009 05:27:05 +0000 |
| Subject: | Object of class stdClass could not be converted to string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-300169@lists.php.net to get a copy of this message | ||
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 " <td>$mydata->2010</td>\n";
echo " <td>$mydata->2009</td>\n";
Is this something new in PHP? Geez.
John