like what because i use symfony for first time so can you help me 2011/3/31 Christophe COEVOET <s...@notk.org>
> Le 31/03/2011 15:12, mohamed sabri ben sassi a écrit : > > yessssss i cant get my column with the methode get() it didnt work when i > make $utilisateur->getprenom() > Fatal error: Call to a member function getprenom() on a non-object > > You issue is not with ->getprenom. > The issue is that you don't get any $utilisateur instance but null because > your query return no result. So you need to handle this special case in your > controller by doing something else when there is no result. > > -- > Christophe | Stof > > -- > 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 symfony-users@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 > -- 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 symfony-users@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