Re: php array question

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

 



Victor C. wrote:
$OrderObject =$this->orders[$OrderID=>$value];

This line is confusing. $OrderID=>$value is either a typo or is just plain wrong. It looks like what it's meant to say is:


$OrderObject = $this->orders[$OrderID];

But this will just set $OrderObject equal to $value, so you should just use:

$OrderObject = $value;

Try that and see if it works.

--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com

---------------------------------------------------
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---------------------------------------------------

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