I have a table from which I get the date and quantity. I display it as timelines.
$show = $this->__db->execute("SELECT date, quantity from table