what is this -> ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pinehead18
Forum Contributor
Posts: 329
Joined: Thu Jul 31, 2003 9:20 pm

what is this -> ?

Post by pinehead18 »

what is $row->name and is their any part of the manual that explains how to use -> ?
thankyous
anthony
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's an object dereference operator, can only be used on objects, and the name/string/whatever following it is either a function name, or an internal variable.
Post Reply