Welcome Guest, Not a member yet? Register   Sign In
$this->input->post() of array
#3

[eluser]orokusaki[/eluser]
HOW?

If I try to do this:

Code:
$post = $this->input->post();

echo '&lt;html&gt;&lt;body><p>Here they are</p><p>';

foreach($post as $key => $value)
{
    echo $key . '=' . $value;
}

echo '</p>&lt;/body&gt;&lt;/html>';

I get a big nasty back, or if I do this:

Code:
foreach($this->input->post() as $key => $value)
{
    echo $key . '=' . $value;
}

What am I doing wrong?


Messages In This Thread
$this->input->post() of array - by El Forum - 10-12-2008, 06:27 AM
$this->input->post() of array - by El Forum - 10-12-2008, 07:28 AM
$this->input->post() of array - by El Forum - 10-21-2008, 05:06 PM
$this->input->post() of array - by El Forum - 10-21-2008, 05:17 PM
$this->input->post() of array - by El Forum - 10-21-2008, 05:28 PM
$this->input->post() of array - by El Forum - 10-21-2008, 05:37 PM
$this->input->post() of array - by El Forum - 10-22-2008, 01:21 AM
$this->input->post() of array - by El Forum - 10-22-2008, 01:37 AM
$this->input->post() of array - by El Forum - 10-22-2008, 12:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB