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

Like @ciadmin suggested, the best way is to create the table with the database tool you are using, because this is just a one-time issue.
If you managed to create a database, that means that you have access to phpmyadmin. Open it and select your database. Click the SQL tab and paste the sql-command that you find in the CI documentation. Click Start to run the command. The news table is created.
After you've done that, insert a few records. Use your fantasy to make up a few titles, and search the internet for lorum ipsum texts that can be used as imaginary news items.
Once these records exist, you can use CI to collect records from the database and pass data to your views.
Reply


Messages In This Thread
RE: CodeIgniter Tutorial News section - by Wouter60 - 07-28-2015, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB