What does this produce:

  var_dump($a);

On Tue, Mar 23, 2010 at 11:57 AM, Jérémie <jeremie.symf...@gmail.com> 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 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
>
> 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 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

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.

Reply via email to