Welcome Guest, Not a member yet? Register   Sign In
use of $route in routes.php
#5

I used the "view source" in chrome to see what the hyperlink is. 

this is how it appears in the source:
Don't have an account? <a href="<?php echo base_url(); ?>users/registration">Register here</a></p>

This is how it appears in the browser: 
Don't have an account? <a href="/sub_crud/users/registration]http://[::1]/sub_crud/users/registration">Register here</a></p>

I don't understand why it appears twice and the link is malformed. Anyway when I click on that link I get 

http://[::1]/sub_crud/users/registration 404 (Not Found)

I do have a users.php controller and it contains a registration method.
proof that an old dog can learn new tricks
Reply


Messages In This Thread
use of $route in routes.php - by richb201 - 11-04-2017, 05:28 AM
RE: use of $route in routes.php - by InsiteFX - 11-04-2017, 09:32 AM
RE: use of $route in routes.php - by richb201 - 11-04-2017, 10:00 AM
RE: use of $route in routes.php - by InsiteFX - 11-05-2017, 05:12 AM
RE: use of $route in routes.php - by richb201 - 11-05-2017, 02:14 PM
RE: use of $route in routes.php - by richb201 - 11-05-2017, 05:03 PM
RE: use of $route in routes.php - by Narf - 11-06-2017, 03:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB