Forum Moderators: coopster
PHP Bible, 2nd Edition
by Tim Converse (Author), Joyce Park (Author)
[edited by: jatar_k at 6:04 pm (utc) on Mar. 14, 2004]
[edit reason] removed url and inserted title [/edit]
As for tutorials, my faves (for php and most other web related stuff) are on the webmonkey site.
-> designates an object member or method. In a class, you declare a new object thus:
$objClass = new myClass($param1, $param2);
Then you access members like this
$objClass->length
and methods like this
$objClass->calculateArea($radius)
=> is used for arrays in many contexts. In general, the values on the two sides are
$key => $value
aka
$associative_index => $value
thus
$myArray = array('color' => 'red', 'size' => 'large')
Tom