Array To String error / undefined $query |
I'm learning CodeIgniter 3 and have come to a halt because of a (probably) stupid thing I did. Could you help me in identifying the issue in my code?
I'm trying to display some rows of data from a database and I get this error Quote:A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: core/MY_Controller.php Line Number: 24 Backtrace:My Controller Code: public function existing() // Recieved, Unsolved Code: public function viewexisting() Code: <?php foreach($query as $row){?> Help? Please? |
Welcome Guest, Not a member yet? Register Sign In |