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

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

 



On Mon, Nov 30, 2009 at 10:27 PM, John Taylor-Johnston
<jt.johnston@xxxxxxxxxxxxxx> 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 " <td>$mydata->2010</td>\n";
>    echo " <td>$mydata->2009</td>\n";
>
> Is this something new in PHP? Geez.
> John
>

http://www.php.net/manual/en/language.variables.basics.php
http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex

Ever consider actually learning the language?

-- 
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