1 2 3 4 5 6
<?php $db->query('UPDATE {users} SET email_address = LOWER(email_address), jabber_id = LOWER(jabber_id)'); ?>