Loading video...
Web Application Development
- The property values of an instantiated object can be output within double-quoted strings using curly brace
syntax:
echo "Item Name: {$item1->name}";
- Object properties can be of any data type, including both arrays and other objects themselves.
- The values of object properties that are arrays can be accessed using the following syntax:
- Indexed Array Property:
$dept->items[0] - Associative Array Property:
$cart->items['1001']
- Indexed Array Property:
- The values of object properties that are arrays can be output within double-quoted strings using curly brace
syntax:
- Indexed Array Property:
echo "Department Item ID: {$dept->items[0]}"; - Associative Array Property:
echo "Cart Item Quantity: {$cart->items['1001']}";
- Indexed Array Property:
Web Application Development
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

































Start Learning Now
Our free lessons will get you started (Flash® 10 required).
Sign up for Educator.comGet immediate access to our entire library.
Features Overview