I am new here, so please bear with me.
Am trying to run a project built using the codeigniter.
The project is an online registration system,but am getting the undefined variable error in some parts of my page.
Please if you got the time to go over the project and help me out I will be very grateful.
Here is the link to the whole system.
NB:It contains the exported database already( the database is called 'orsdb' )
Cheers!!!
https://drive.google.com/open?id=0ByYO-aax6KH3cnJNRnBsNEgwd1k
You should check every variable in your CI view part before printing it, you can use isset() to check you variable is either define or not. Example -
<?php echo isset($var) ? $var:""; ?>
You can also use empty() function to check variables.
Another thing is if your variable is always undefined then you must check your array which contains data fetching from database in CI controller and print the array to check your all required value does exist or not. If not exists then check your SQL query whether it fetches your required data or not.