php - How to change every email value in a table -
i work zend framework 1.12 , mysql. in database have 4k rows, , have unique e-mail value.
how should change value every row? better use php script or use mysql query?
example of desired result:
use php script makes use of zend framework, eg:
$data = array( 'email' => $mynewemail, ); $n = $db->update('users', $data, 'user_id = ' . $userid);
http://framework.zend.com/manual/1.12/en/zend.db.adapter.html
Comments
Post a Comment