December 4, 2026
Why [10, 9, 1].sort() gets it wrong, how to sort by date or amount, order accented names properly and chain several criteria…
December 4, 2026
Test plan, staging environment, bug reports, go-live criteria: the method we follow with our clients so a website or application reaches production…
December 2, 2026
Dompdf turns HTML into PDF, but question marks instead of accented letters, missing images and table rows split across pages show up…
December 1, 2026
What max_execution_time really measures, how to find the slow code, when and where to raise the limit (PHP, .user.ini, nginx), and how…
December 1, 2026
Detect clicks outside an element with contains() and composedPath(), avoid the menu that closes as soon as it opens, handle Escape and…
November 30, 2026
Why json_decode silently returns null, how to get the real error, keep accented characters readable with json_encode, avoid the array-or-object trap and…
November 29, 2026
Why 0.1 + 0.2 isn't 0.3, why (1.005).toFixed(2) returns "1.00", and how to round, compare and calculate money correctly in JavaScript.
November 27, 2026
Days between two dates, someone's age, time left before a deadline, business days excluding weekends and holidays: reliable PHP methods with DateTimeImmutable…
November 26, 2026
Upload a file without reloading the page, properly: FormData, type and size checks, image preview, a reliable progress bar and PHP handling,…
November 25, 2026
User logged out after a redirect, cart emptied, $_SESSION empty on the next page: a method to find the cause (code, cookie…