can some body tell me what does the following do?
$code=$row->name;
Thanks
as far as I know, $row->name will return the array element named "name" from the array row, and assign it to $code.
Have a look at associtiave arrays in the help/on-line docs.
John
That's syntax related to Object Oriented (OO). There's too much to cover in a forum posting. To learn more about it read the Classes and Objects section of the manual and some articles like this one:
http://www.phpbuilder.com/columns/rod19990601.php3