Objects
Properties of objects assigned from PHP can be referenced by specifying the property name after the '->' symbol.
Example 4-4. accessing object properties
name: {$person->name} email: {$person->email} OUTPUT: name: Zaphod Beeblebrox email: zaphod@slartibartfast.com
|
|