Hot answers tagged

1 vote

Re-order table columns in HTML dynamically with Javascript

Start with the data in Javascript. Always sort the Javascript, never from the html table. Always create a new table. Throwing away the pre-existing table fantastically simplifies everything. I ...
  • 6,625
1 vote

Create archive webpage for newsletters based on nested array

Structure Review Separating Logic from display This approach works but it would be cleaner to have the PHP code send the data to either an HTML template engine (e.g. twig, blade, Smarty etc.) or to ...

Only top scored, non community-wiki answers of a minimum length are eligible