[SOLVED!]A PHP Error was encountered - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [SOLVED!]A PHP Error was encountered (/showthread.php?tid=26101) |
[SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]maria clara[/eluser] hi, my console is showing this message, and i wonder what is this.. Code: <p>Severity: Warning</p> it is pointing to the MODEL: Code: foreach ($rows as $row) hope someone could help me with this.. thanks in advance, maria [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]flaky[/eluser] your $rows array is not correctly set up [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]saidai jagan[/eluser] Code: print_r($rows) [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]Sbioko[/eluser] $rows variable must be an array. [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]maria clara[/eluser] hi to all, thanks for the advice. it still showing me the same message. regards, maria [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]saidai jagan[/eluser] can u pls show the Code: print_r($rows) [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]maria clara[/eluser] [quote author="saidai jagan" date="1262862841"]can u pls show the Code: print_r($rows) hi, i already posted the solution for this, check on this: solution thanks a lot. your script helps me. regards, maria [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]Rahul Anand[/eluser] Hi could you please send me the script to check at [email protected] or post the whole script. Al give you the solution within a minute. Thanks Rahul [SOLVED!]A PHP Error was encountered - El Forum - 01-06-2010 [eluser]maria clara[/eluser] [quote author="Rahul Anand" date="1262864744"]Hi could you please send me the script to check at [email protected] or post the whole script. Al give you the solution within a minute. Thanks Rahul[/quote] hi, i already solved this but if you wish i will send you the script at your mail. regards, maria [SOLVED!]A PHP Error was encountered - El Forum - 01-07-2010 [eluser]maria clara[/eluser] @rahul, i havent done yet the detail list in my jqgrid that's why i havent used this..i just solve it for the error Code: invalid argument in foreach() here's the script: Code: function save_detail($id,$rows) //Query for saving the company details i cant send in your gmail.. |