David Harkness
  • Member for 10 years, 11 months
  • Last seen more than a month ago
Todo app for displaying a list of tasks
3 votes

I'd only add one thing to rassie's great list: while choosing which CSS class to assign to tasks that are due "soon" certainly belongs to the presentation layer (view or template), the fact that tasks ...

View answer
Extract a joined result set into a parent-child hierarchy
Accepted answer
4 votes

First Cut: Since every row contains the same set of fields, you can clean up the code considerably by skipping the inner loop. $question_array = array(); foreach ($quiz_data as $row) { $qId = $...

View answer
1 2 3 4 5