[eluser]Unknown[/eluser]
Hello everyone.
I've been trying to make a route in the "routes.php" file that contains a "#" symbol, but it just doesnt work.
I did try using a scape char such as "\#" but it gives me the same result.
For example:
Code:
$route['search/(:num)/page#p(:num)'] = "search/search_by/$1/$2";
Results in:
Message: preg_match() [function.preg-match]: Unknown modifier 'p'
Code:
$route['search/(:num)/page#(:num)'] = "search/search_by/$1/$2";
Results in:
Message: preg_match() [function.preg-match]: Unknown modifier '('
So i deduced that the problem is generated by de character next to the "#" symbol, so y came up with this
Code:
$route['search/(:num)/page\#(:num)'] = "search/search_by/$1/$2";
Results in:
Page loads eternally and doesnt show properly
Does exists a way to make a route with a '#' char?
Greetings!