1 st problem
try to do:

 protected function doUpdateObject($values)
  {
     print_r($values['id_empresa']);

     parent::doUpdateObject($values);
  }

2 nd
I don't understand what are you trying to do. And what does mean "they
are both foreign keys from same fields"?

Probably you want to do something like:

 <tr>
      <td>Created by</td>
      <td><?php echo $info_empresa->getCreatedBy()->getUsername() ?></
td>
      <td>Updated by</td>
      <td><?php echo $info_empresa->getUpdatedBy()->getUsername() ?></
td>
 </tr>

?

On 2 Ășn, 18:48, wueb <webmaster....@gmail.com> wrote:
> Hello Tom,
>
> $empresas had a array with values and descriptions to put on the
> select.
>
> But right now my major problem is the 2nd. Any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to