php - assign mysql values into multidimensional array -
I am trying to display a multidimensional array in html table using php nd mysql.
Array structure array ([0] => array ([work] => DSDSS [time] => 2:47 --- 2:55 [total] = & gt; ; 8)) [A] = & gt; Array ([0] = & gt; Array ([work] => SDSDSDSD [time] => 1:47 --- 2:47 [total] => 60)) [mu] = & Gt; Array ([0] => Array ([work] => SDSDD [time] => 1:30 --- 2:48 [total] = & gt; 78)) [Raj] = & Gt; Array ([0] = & gt; array ([work] = & gt; Dsdwew [time] => 3:34 --- 3:40 [total] => 6) [1] = & gt; ; Array ([work] => cdsfdfdfd [time] => 3:25 --- 3:35 [total] => 10)))
this The column will go through first and then it will come in such lines.
user1 user2 user3 aa bb cc
Plz tips ..
U should read about foreach.
And I think winning these values in the table is not a problem.
Comments
Post a Comment