But is it an array or an object with an array interface? On Tue, Mar 23, 2010 at 12:19 PM, Belgacem TLILI <[email protected]> wrote: > $a[0] means it will return the 1st box of my array, > > On Mar 23, 5:02 pm, Tom Haskins-Vaughan <[email protected]> > wrote: >> What does this produce: >> >> var_dump($a); >> >> On Tue, Mar 23, 2010 at 11:57 AM, Jérémie <[email protected]> wrote: >> > Belgacem TLILI wrote: >> >> >> now i have save the form fiels in an array >> >> then i have save this array in the user session >> >> >> $forms1= Array($form->getValues()); >> >> $this->getUser()->setAttribute('etab',$forms1); >> >> >> then: >> >> $a=$this->getUser()->getAttribute('etab'); >> >> $b=$a[0]; >> >> this return null ?? >> >> > Well, I'm not sure, but I still wanna help :-p >> > Does $a[0] means it will return the 1st box of your array, or this it mean >> > it will return the one indexed by "0" ? >> > Maybe here is the problem. >> >> > Jérémie. >> >> > -- >> > 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 >> >> > To unsubscribe from this group, send email to >> > symfony-users+unsubscribegooglegroups.com or reply to this email with the >> > words "REMOVE ME" as the subject. > > -- > 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 > > To unsubscribe from this group, send email to > symfony-users+unsubscribegooglegroups.com or reply to this email with the > words "REMOVE ME" as the subject. >
-- 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 To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
