0
<?php
class cal{
private $avore_repor;
private $volume;
private $valor_pagar;
public function setArvores_repor($r){
$this->arvores_repor = $r;
}
public function getArvores_repor() {
return $this->arvores_repor;
}
public function setVolume($v){
$this->volume = $v;
}
public function getVolume() {
return $this->volume;
}
public function setValor_pagar($p){
$this->valor_pagar = $p ;
}
public function getValor_pagar() {
return $this->valor_pagar ;
}
public function cal(){
}
}
?>
Don’t just put your question in the title. Explain it better and give an example of the result you expect to get. This way someone might be able to help.
– edson alves
In addition to what @edsonalves said, if you can, put what you’ve done so far beyond a class.
– Andrei Coelho