Sign in
Create account
Login
Username:
Password:
Lost Password?
Remember me
Home
Forums
Search
Members
Help
CodeIgniter.com
Twitter
CodeIgniter Forums
Using CodeIgniter
General Help
base_url()
0 Vote(s) - 0 Average
1
2
3
4
5
Thread Modes
base_url()
sreekumar
Newbie
Posts: 1
Threads: 1
Joined: Mar 2017
Reputation:
0
#1
04-04-2017, 02:43 AM
in my website this function not working. Iam used the helper function that time the links will works but the object did not load in the web page. How i debug this error in my web page.
Find
Reply
InsiteFX
Posting Freak
Posts: 4,380
Threads: 101
Joined: Oct 2014
Reputation:
146
#2
04-04-2017, 04:34 AM
You can do this to test that it is working.
PHP Code:
echo
base_url
();
Make sure that you either load or autoload the url_helper first before using it.
What did you Try?
What did you Get?
W
hat did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Find
Reply
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Lounge
-- Events
-- Regional User Groups
Using CodeIgniter
-- Choosing CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- 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
-- Addins
-- Jobs
-- Learn More
-- Spotlight
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © 2014 iAndrew
Powered By
MyBB
, © 2002-2021
MyBB Group
.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend