Object of class stdClass could not be converted to string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux