$affectedRows = $modx->exec($sql);. The PDO::exec() method returns the number of affected rows. Jason Coward Chief Architect @ MODX
確定! 回上一頁