thingstodo Reply #1, 3 months, 3 weeks ago
How would I do this with xPDO?
$table = $modx->getFullTableName('products');
$result = $modx->db->update( " field1 = '$field1', field2 = '$field2' " , $table, "parent=$parent" );
Would I need to use getCollection then loop through the results, or is there a simpler method?
Thanks
Mike