thank you, i would like to have a sfWidgetFormDoctrineChoice() in may form that contain all cotegory of job
i dont work in the JobForm.class.php i have another form ClientForm.php just i dont know how write my doctrine querie and put this in the sfWidgetFormDoctrineChoice() On Mar 13, 2:56 am, ScherlOMatic <[email protected]> wrote: > Hello! > > What's the problem? Building forms, rendering in your template file or > writing doctrine queries? > > first of all you need to customize your JobForm.class.php: > sfWidgetFormDoctrineChoice() > > please give us more details and you will get more feedback. > > Ciao > > On 13 Mrz., 01:02, Belgacem TLILI <[email protected]> wrote: > > > i have this class > > job: > > connection: doctrine > > tableName: job > > columns: > > id_marchandise: > > type: integer(4) > > primary: true > > autoincrement: true > > category: > > type: string(50) > > sub_category: > > type: string(50) > > > i would like have the data of this table in (of my database) like a > > list of option in indexSuccess.php > > > like this in html > > > <select name="job[category]" id="job_category"> > > <option value="1">Petit Colis</option> > > <option value="2">Moyen Colis</option> > > <option value="3">Grand Colis</option> > > > //........the data from database > > > <option value="7">Petite Palette</option> > > <option value="8">Moyenne Palette</option> > > <option value="9">Grande Palette</option> > > </select> > > > how can i do this > > > how can i build a doctrine request (DQL) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
