I need to display in my table a value that I take from my database (inventory, price column).
Ex.
R $ 59.90
$price = number_format($this->data("Est.price"));
echo $price;
But it doesn't display anything
How can I solve?
Ex.
R $ 59.90
$price = number_format($this->data("Est.price"));
echo $price;
But it doesn't display anything
How can I solve?
$this->get is for {var:}'s, $this->data is for {data:}'s.
I managed to solve, now I need to display a simple calculation on a table in the index event
Quantity x price.
How can I get these two dice?
I tried several ways and failed.
Quantity x price.
How can I get these two dice?
I tried several ways and failed.
echo $this->get('thething') * $this->get('the_other_thing');
This topic is locked and no more replies can be posted.