[eluser]Bart v B[/eluser]
Hi all,
i have a piece of code that wil store dynamic the values from forms into a CI session.
That works:
Code:
<?php
$data = array();
$i = 0;
foreach($_POST as $key => $value)
{
$i++;
$data[$key] = $value;
}
$this->session->set_userdata($data);
normaly when you read it out like this: echo $this->session->userdata('voornaam');
But now i don't know what data is stored in the session.
So how do i get the values dynamic?