|
|||
|
How about:
Code:
$bind = array(
'text' => new Zend_Db_Expr("REPLACE(text, 'oldtext', 'newtext')")
);
$db->update('my_table', $bind, "text REGEXP 'oldtext'");
Last edited by Tekerson : 08-18-2008 at 11:10 AM. Reason: Syntax error |
![]() |
| Thread Tools | |
| Display Modes | |
|
|