include('Property.php');
$obj = new Property ();
$obj->price = 2500.00;
$obj ['address_primary'] = '100 Main St';
$obj->state = 'VA';
echo 'Address :: ', $obj->address_primary, ' ', PHP_EOL;
echo 'City, State, Zip :: ', $obj ['state'];
Can please someone Explain to me how, from having this : $obj = new Property () we can create/initialize or have : $obj ['address_primary'] and be able to echo this : $obj->address_primary
Sorry but I try to explain the problem as much as i could. Thanks for your answers Folks!!