How can I detect if a MySQL database table is using the InnoDB storage engine from within a PHP program?
The reason - the PHP program needs to utilize database transactions. InnoDB supports transactions. MyISAM (the MySQL default storage engine) does not. The program needs to fail if transactions are not supported.