Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Tutorial News section
#4

(07-27-2015, 09:48 AM)ciadmin Wrote: Step 2) SQL commands are run using a SQL tool, for instance phpmyadmin. They do not belong in your code (model or otherwise), as they are not PHP.

Step 7) Each of the "loads" renders a fragment of the result page

Hope this helps

Thanks ciadmin. I have read Connecting to your Database - Automatically Connecting. As CodeIgniter is doing most other things automatically, I would like to learn (and I guess most other students of CodeIgniter) the code so that my project can automatically connect to the database. I have already changed application/config/autoload.php to

Code:
$autoload['libraries'] = array('database', 'email', 'session');

but I guess there will be significant coding for it to happen.
Reply


Messages In This Thread
RE: CodeIgniter Tutorial News section - by christaliise - 07-28-2015, 01:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB