Posted in Technology

PHP Associative Arrays for C# .NET

I always loved the ease of use of arrays in PHP. Simple, dynamic arrays; arrays with integer indexes or string keys; hash tables, maps, collections, resizable variant arrays; you name it.

Posted in Technology

MS Access Reports: Sums from distinct group headers

The problem: When we use formulas on text boxes in the report footers of MS Access reports, such as “=sum(a_field_in_header)”, we get incorrect results because of duplication of same amounts for multiple items in detail section.

Posted in Technology

PHP: magic methods

Regarding __toString