1
0
mirror of synced 2025-01-10 19:17:10 +03:00
doctrine2/manual/codes/Working with objects - Dealing with relations - Updating related records.php

10 lines
174 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
$user->Email['address'] = 'koskenkorva@drinkmore.info';
2006-07-24 01:08:06 +04:00
$user->Phonenumber[0]->phonenumber = '123123';
2006-07-24 01:08:06 +04:00
$user->save();
// saves the email and phonenumber
?>