Timeline for how many alternative ways are there, and how much better are they to transform this array?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 9, 2014 at 22:54 | vote | accept | Emilio Gort | ||
Jan 9, 2014 at 22:53 | comment | added | Emilio Gort |
Thanks, Could we have a chat?, I see new things for me in your script that I want to learn if you can clarify. the continue and the (bool)$cols . Also I reset the array because google chart doesn't work if the array isn't reset
|
|
Jan 9, 2014 at 22:27 | comment | added | roosevelt | Hi, I updated my code to get rid of the columns that have null values. When you are dealing with array or databases, try your best to keep the index keys same across all datasets. Because one misleading number can throw the whole structure off. | |
Jan 9, 2014 at 22:25 | history | edited | roosevelt | CC BY-SA 3.0 |
Added the code to remove columns
|
Jan 9, 2014 at 21:28 | comment | added | Emilio Gort |
thanks, but I have to remove the $col and $row elements that have a Null value... see my output it has only 6 elements for each col...that's the part I made with eval()
|
|
Jan 9, 2014 at 20:01 | history | answered | roosevelt | CC BY-SA 3.0 |