"; // preformat for tab, newLine and filler print("\tItem Report\n\n"); print("Id\tName\t\t Price\n"); for ($ix = 0; $ix < count($items); $ix++) { $i = $items[$ix]; $i->setPrice(sprintf("%6.2f", $i->getPrice() )); print ($i->getId() . "\t" . $i->getName() . "\t" . $i->getPrice() . "\n"); } ?>