I don't understand what you want me to make.
In your exemple, I have one array by line.
Or in my case, I have one array who have all my data.
If i drop the column key, i will have an array without any information
to help the comprehension ?
I have try to transform your sample :
$mytab = array(
array('SQL Statement','Time','Result'),
array('SELECT * FROM Foo','0.02',array('row1','row2')),
array('SELECT * FROM Bar','0.04',array('row1','row2')));
fb(array('2 SQL queries took 0.06 seconds',
array(
$mytab
)
),FirePHP::TABLE);
but it screen 3 columns with one column by array.
$mytab = array(
array('SELECT * FROM Foo','0.02',array('row1','row2')),
array('SELECT * FROM Bar','0.04',array('row1','row2')));
fb(array('2 SQL queries took 0.06 seconds',
array(
array('SQL Statement','Time','Result'),
$mytab
)
),FirePHP::TABLE);
And this code screen 3 column with the two first content are array.
Have you another method to make this script ?
Pierre