Blog Home

Missing DB Fields (Unknown Column)

How to avoid and fix problems caused by making too big a jump in MODX versions.

Using fromArray() to Write Raw Values to the DB

How to write raw values to the database with the fromArray() method.

Get a Field Value -- Fast

A very fast and efficient method for getting field values in MODX, from Jason Coward.

How To Tell If a Table Exists

A quick tip for checking on the existence of a database table in PHP code