thanks so very much.
= is an assignment of a value to a variable. -> is a call to a part of object-oriented programming, and calls a class function
great..more stuff to lean for php...sigh...
Don't forget => !
$array('index1' => 'hello', 'index2' => 'foobar'); foreach($array as $key => $value) { // ... }