class classname
{
var item1;
var item2;
var item3;
function whateverulike()
{
/fetch some data from db/
$this->item = $row[item1];
ect;
}
}
this is not what u wld call a "proper" class, yet it works, why, why?, I want 2 write everything like this now!, it's not right, but it works, can anyone explain it 2 me, pls, pls, no get, no set, no private, no public..., HELP, it WORKS, why??