1
0
mirror of synced 2024-12-17 00:18:42 +03:00
doctrine2/manual/codes/Mapping object relations - Dealing with relations - Updating related records.php
2006-07-23 21:08:06 +00:00

10 lines
174 B
PHP

<?php
$user->Email["address"] = "koskenkorva@drinkmore.info";
$user->Phonenumber[0]->phonenumber = "123123";
$user->save();
// saves the email and phonenumber
?>