But is it an array or an object with an array interface?
On Tue, Mar 23, 2010 at 12:19 PM, Belgacem TLILI wrote:
> $a[0] means it will return the 1st box of my array,
>
> On Mar 23, 5:02 pm, Tom Haskins-Vaughan
> wrote:
>> What does this produce:
>>
>> var_dump($a);
>>
>> On Tue, Mar 23, 2010
What does this produce:
var_dump($a);
On Tue, Mar 23, 2010 at 11:57 AM, Jérémie 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',
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
What is the problem with storing the inscription in the database? Even
if the user cancels before finishing you could either just delete the
record after a predetermined time or use the record as data on how
many people are completing how many of your steps.
You might find that 4 steps is too many
Then instead of saving an object, save an array that contains the
properties of the object that you will create after the last step.
Alternatively, you can try experimenting with the __sleep() and
__wakeup() magic functions of your object, but the recommended way is
the one above.
On Tue, Mar 23,