Logusid's avatar

miss arrangement

this is simple route: $app->get('coursesearch/keyword/{searchitems}/limit/{limit}/misspellmatch/{misspell}/country/{country}','SearchController@fn_searchcourses');

public function ($searchitems,$limit,$misspell,$country) { echo $searchitems.$limit.$misspell.$country; }

i am expect results: searchitems(value)limit(value)misspell(value)country(value) but am getting like this : limit(value)misspell(value)country(value)searchitems(value); its collapse i dnt know why. Please help me

0 likes
6 replies
topvillas's avatar

Format your code and people might be more willing to help.

Logusid's avatar

ok. but why it gets collapse. any reason

Screenbeetle's avatar

@Logusid

you need to add three ticks before and after you code like this ```:

code code goes here

It's a bit of a ball ache to read otherwise :-)

Logusid's avatar

sorry, u mean like this public function ($searchitems,$limit,$misspell,$country```)

Logusid's avatar

ok thanks. another questions i want ask. in lumen 5.4 , how to set charset utf-8 while return (array). can u please help me one more time.

Please or to participate in this conversation.