Welcome Guest, Not a member yet? Register   Sign In
Problem with application after moving from local to hosting server
#13

[eluser]vitoco[/eluser]
I saw something that it's maybe a problem, the index in the post array is 'qty', so if the php configuration has GLOBALS = on, in the first cicle inside the foreach


Code:
.....
    foreach($this->input->post('qty') as $k => $v)
    {
       $id = (int)$k;
       // IF GLOBAL IS ON , maybe the array is set to int...$qty ~ $_POST['qty']
       // SO CHANGE THE VARIABLE NAME TO SOMETHING ELSE AND TRY AGAIN..
       $qty = (int)$v;
.....

Saludos


Messages In This Thread
Problem with application after moving from local to hosting server - by El Forum - 05-22-2010, 08:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB