Welcome Guest, Not a member yet? Register   Sign In
[SOLVED!]A PHP Error was encountered
#1

[eluser]maria clara[/eluser]
hi,

my console is showing this message, and i wonder what is this..
Code:
<p>Severity: Warning</p>
<p>Message:  Invalid argument supplied for foreach()</p>
<p>Filename: models/users_db.php</p>
<p>Line Number: 178</p>

it is pointing to the MODEL:
Code:
foreach ($rows as $row)
        {
            $rdata = explode('|', $row);
            
            $data['user_id'] = $id;
            $data['company_id'] = $rdata[5];            
            
            $this->db->insert('sec_companyaccess', $data);
        }

hope someone could help me with this..

thanks in advance,
maria


Messages In This Thread
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 03:56 AM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 05:07 AM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 06:13 AM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 06:13 AM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 07:24 PM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 11:14 PM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 11:33 PM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 11:45 PM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-06-2010, 11:51 PM
[SOLVED!]A PHP Error was encountered - by El Forum - 01-07-2010, 12:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB