Zend Insert Update ON Duplicate

Many people struggle with the Insert / Update on duplicate feature of MySQL within Zend. I also had a problem with this as the Zend does not support this in the framework . To bad, so I have written my own, Insert and Update on Duplicate function. Here it is:[php] /** * * Create an Insert or Update on Duplicate statement * * @author Theo * @version 1 * @since 28 okt. 2010 * * @param string $tableName The name

Lees meer...

Site Footer