What should I do in the address bar like index. phpw.e-pagecolorspink-color? The link address I used to contact is like index. php? Key1 = val1 & key2 = val2
But in index. php/explore-page/colors/pink-color, which is the parameter name and the value?
Reply to discussion (solution)
This is a well-defined framework route.
It depends on how the route is defined.
Effece-page/colors/pink-color
Discussion page/color/Pink
The developer determines how to explain it.
Not quite clear
I am using many links in joomla. what does that mean?
Index. php/explore-page/colors/pink-color
This is a url in path_info format.
Where
Index. php is a processing program
/Explore-page/colors/pink-color is the passed parameter
Each section represents a parameter. here there are three parameters.
After obtaining the parameter string from $ _ SERVER ['path _ info'], the program splits the string by/into an array.
Developers can determine how to explain the meaning of array elements.
The program you wrote is up to you
That is, parameters are interpreted by location.
And index. php? Key1 = val1 & key2 = val2
Parameters are interpreted by name.
Index. php/explore-page/colors/pink-color
This is a url in path_info format.
Where
Index. php is a processing program
/Explore-page/colors/pink-color is the passed parameter
Each section represents a parameter. here there are three parameters.
After obtaining the parameter string from $ _ SERVER ['path _ info'], the program splits the string by/into an array.
Developers can determine how to explain the meaning of array elements.
The program you wrote is up to you
That is, parameters are interpreted by location.
And index. php? Key1 = val1 & key2 = val2
Parameters are interpreted by name.
Now I know more about it. thanks to the moderator ..
Index. php/explore-page/colors/pink-color
Estimate? Is rewrite
Index. php? Action = effece-page & colors = pink-color
? What do you want to see ?? Rewrite.