Can someone check base_url() and base_url("param") |
Ah, I see!
Your problem comes from the fact that base_url($param) uses relative URIs. That means that it will display a page according to your current location. To avoid that, you can prefix your path with a "/" : PHP Code: base_url($somethingWithASlash); or PHP Code: base_url('/'.$somethingWithoutASlash); |
Messages In This Thread |
Can someone check base_url() and base_url("param") - by John_Betong - 09-06-2020, 10:09 PM
RE: Can someone check base_url() and base_url("param") - by SteeveDroz - 09-06-2020, 10:24 PM
RE: Can someone check base_url() and base_url("param") - by John_Betong - 09-06-2020, 11:42 PM
RE: Can someone check base_url() and base_url("param") - by SteeveDroz - 09-07-2020, 02:17 AM
RE: Can someone check base_url() and base_url("param") - by John_Betong - 09-07-2020, 02:28 AM
RE: Can someone check base_url() and base_url("param") - by SteeveDroz - 09-07-2020, 03:42 AM
RE: Can someone check base_url() and base_url("param") - by Gary - 09-07-2020, 04:46 AM
RE: Can someone check base_url() and base_url("param") - by InsiteFX - 09-07-2020, 08:03 AM
|