Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Using CodeIgniter
General Help
can't get link to work
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
can't get link to work
Wouter60
Posting Freak
Posts:
851
Threads:
38
Joined:
Feb 2015
Reputation:
77
#21
03-26-2016, 01:20 AM
Have you tried loading the url helper in your controller (before it loads the view from you index function)?
Then, in the view, put the following code:
PHP Code:
<?php
echo
anchor
(
'products/details/'
.
$product
->
id
,
$product
->
name
);
?>
The url helper will include your base_url path.
Reply
Messages In This Thread
can't get link to work
- by
richie41
- 03-24-2016, 08:54 AM
RE: can't get link to work
- by
Paradinight
- 03-24-2016, 12:26 PM
RE: can't get link to work
- by
richie41
- 03-24-2016, 02:59 PM
RE: can't get link to work
- by
twpmarketing
- 03-24-2016, 02:30 PM
RE: can't get link to work
- by
richie41
- 03-24-2016, 02:48 PM
RE: can't get link to work
- by
pdthinh
- 03-24-2016, 07:01 PM
RE: can't get link to work
- by
richie41
- 03-25-2016, 02:43 AM
RE: can't get link to work
- by
richie41
- 03-24-2016, 02:51 PM
RE: can't get link to work
- by
Wouter60
- 03-25-2016, 02:54 AM
RE: can't get link to work
- by
richie41
- 03-25-2016, 03:05 AM
RE: can't get link to work
- by
Avenirer
- 03-25-2016, 03:21 AM
RE: can't get link to work
- by
richie41
- 03-25-2016, 03:22 AM
RE: can't get link to work
- by
Wouter60
- 03-25-2016, 03:23 AM
RE: can't get link to work
- by
richie41
- 03-25-2016, 03:41 AM
RE: can't get link to work
- by
pdthinh
- 03-25-2016, 05:46 AM
RE: can't get link to work
- by
richie41
- 03-25-2016, 11:24 AM
RE: can't get link to work
- by
InsiteFX
- 03-25-2016, 03:54 AM
RE: can't get link to work
- by
richie41
- 03-25-2016, 04:03 AM
RE: can't get link to work
- by
InsiteFX
- 03-25-2016, 12:59 PM
RE: can't get link to work
- by
richie41
- 03-25-2016, 01:41 PM
RE: can't get link to work
- by
Wouter60
- 03-26-2016, 01:20 AM
RE: can't get link to work
- by
richie41
- 03-26-2016, 03:17 AM
RE: can't get link to work
- by
Wouter60
- 03-26-2016, 03:43 AM
RE: can't get link to work
- by
richie41
- 03-26-2016, 03:55 AM
RE: can't get link to work
- by
InsiteFX
- 03-26-2016, 03:33 AM
RE: can't get link to work
- by
richie41
- 03-26-2016, 03:37 AM
RE: can't get link to work
- by
Wouter60
- 03-26-2016, 04:51 AM
RE: can't get link to work
- by
richie41
- 03-26-2016, 04:55 AM
RE: can't get link to work
- by
Wouter60
- 03-26-2016, 06:02 AM
RE: can't get link to work
- by
richie41
- 03-26-2016, 06:21 AM
RE: can't get link to work
- by
Wouter60
- 03-26-2016, 08:01 AM
RE: can't get link to work
- by
richie41
- 03-26-2016, 08:09 AM
RE: can't get link to work
- by
veronvynguyen
- 03-12-2017, 01:57 PM
RE: can't get link to work
- by
kieranfitz
- 04-21-2018, 04:40 PM
RE: can't get link to work
- by
InsiteFX
- 04-22-2018, 04:27 AM
RE: can't get link to work
- by
InsiteFX
- 04-22-2018, 04:27 AM
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB