Hello Jim,
This is not specific to TBS but let's go.
I dont 't understand why you create several class definitions if you are using them the same way. Use only one class definition.
class TV
{
var $weight;
var $quantity;
}
$TVS_361 = new TV() ;
$TVS_362 = new TV() ;
|
Then your you create a function that operate on any TV instance and that operate the weight and quantity addition.
This function can be a separate function or a method implemented into the class.