Answer the question
In order to leave comments, you need to log in
How to pass get parameters to route in Codeigniter?
Hello!
Posted in route.php
The product function does not see the id parameter . Tell me how to pass $_GET parameters? $route['basketball'] = "controller/product/?id=7";
Answer the question
In order to leave comments, you need to log in
You clearly do not understand what GET is and how route
stackoverflow.com/questions/334708/get-parameters-...
works,
but in general it is better not to do this.
You can also say by declaring a function
and codeigniter will automatically substitute the argument after the slash there.
Well, or if you manually configure code-igniter.ru/user_guide/general/routing.html
PS or am I confused and you need the opposite?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question