Sir i coded as it is... but i am facing to a problem here.. Array ( [0] => Array ( [id] => 1 [username] => Akshay [company] => solution Cone ) [1] => Array ( [id] => 2 [username] => ABC [company] => XYZ ) ) A PHP Error was encountered Severity: Warning Message: foreach() argument must be of type array|object, null given Filename: views/user_view.php Line Number: 17 Backtrace: File: C:\xampp\htdocs\ci_tut\application\views\user_view.php Line: 17 Function: _error_handler File: C:\xampp\htdocs\ci_tut\application\controllers\User_details.php Line: 9 Function: view File: C:\xampp\htdocs\ci_tut\index.php Line: 315 Function: require_once S. No User Name company
NICE video i will follow u every day your videos , i whant a video on codeignator - in this how to insert values in web page or logins , it should show in database
@@SolutionConeOfficial Actually I don't want to load database in each page by writing this code....Is there any way to add it in one place, and not to write again and again....
@@SolutionConeOfficial system\libraries\Session\drivers\Session_database_driver.php, here I found a constructor which is for database load, I have a doubt that we can use it in our page rather than writing $this->load->database(); on each page, might be I can be wrong?
Nice video but i am getting error A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: views/Db_view.php Line Number: 18 Backtrace: File: C:\xampp\htdocs\myapp\application\views\Db_view.php Line: 18 Function: _error_handler File: C:\xampp\htdocs\myapp\application\controllers\Db_controller.php Line: 10 Function: view File: C:\xampp\htdocs\myapp\index.php Line: 315 Function: require_once for this code on 11:38