Welcome Guest, Not a member yet? Register   Sign In
Build Your First Application » Static Pages (CI 4.2.1)
#2

(This post was last modified: 07-27-2022, 11:58 AM by luckmoshy.)

Shortly you should learn how CI wild route
PHP Code:
$routes->get('(:any)''Pages::view/$1'); 
work you have done right except you should remove
Code:
(pages/view)
in your URL parameter and leave
Code:
localhost:8080/home
then it will work. the above CI 4 methods are for teaching only so making it easy to be understandable
Codeigniter First, Codeigniter Then You!!
yekrinaDigitals

Reply


Messages In This Thread
RE: Build Your First Application » Static Pages (CI 4.2.1) - by luckmoshy - 07-27-2022, 09:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB