symfony and entity manager

Posted by Jenis Sam on Stack Overflow See other posts from Stack Overflow or by Jenis Sam
Published on 2012-03-21T05:16:10Z Indexed on 2012/03/21 5:29 UTC
Read the original article Hit count: 168

Filed under:
|

I want to do the following

I have a database table of students, and I want to output each student name in a check box list.

so

checkbox. Student 1

checkbox. Student 2

Where the value of the checkbox is the student's ID.

How can I do that using Symfony?

I want teachers to be able to select one or more checkboxes.

I tried following this tutorial: http://symfony.com/doc/current/cookbook/form/form_collections.html

and using collections, but I am lost...

© Stack Overflow or respective owner

Related posts about php

Related posts about symfony