Create news items Tutorial Not Working |
Hi guys
I'm a newbie in codeigniter and has been following the tutorial until I hit death end in the last tutorial 'Create New Item'. I tried to insert data into MySQL: http://localhost/codeIgniter/index.php/news/create and hit error: The webpage cannot be found HTTP 404 I tried to update my config.php from Code: $config['base_url'] = 'http://localhost/codeIgniter/'; Code: $config['base_url'] = ''; My routes.php: Code: $route['news/create'] = 'news/create'; My controller News.php Code: <?php My model News_model.php Code: <?php My view create.php Code: <h2><?php echo $title; ?></h2> Thanks in advance! |
Messages In This Thread |
Create news items Tutorial Not Working - by aarontan78 - 01-29-2018, 02:27 AM
RE: Create news items Tutorial Not Working - by natanfelles - 01-29-2018, 01:07 PM
RE: Create news items Tutorial Not Working - by Wouter60 - 01-29-2018, 02:06 PM
RE: Create news items Tutorial Not Working - by aarontan78 - 01-29-2018, 06:15 PM
RE: Create news items Tutorial Not Working - by InsiteFX - 01-30-2018, 05:07 AM
RE: Create news items Tutorial Not Working - by aarontan78 - 01-31-2018, 06:03 PM
RE: Create news items Tutorial Not Working - by InsiteFX - 02-01-2018, 01:01 PM
RE: Create news items Tutorial Not Working - by aarontan78 - 02-01-2018, 06:31 PM
RE: Create news items Tutorial Not Working - by InsiteFX - 02-02-2018, 05:00 AM
RE: Create news items Tutorial Not Working - by aarontan78 - 02-05-2018, 12:06 AM
RE: Create news items Tutorial Not Working - by InsiteFX - 02-06-2018, 10:23 AM
|