Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
$data = array(
array('company'=>'AIG', 'id'=>1, 'balance'=> '-$99,999,999,999.00'),
array('company'=>'Wachovia', 'id'=>2, 'balance'=> '-$10,000,000.00'),
array('company'=>'HP', 'id'=>3, 'balance'=> '$555,000.000.00'),
array('company'=>'IBM', 'id'=>4, 'balance'=> '$12,000.00')
);
$renderer = new ArrayToTextTable($data);
$renderer->showHeaders(true);
$renderer->render();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment