Hi @fumeeptc this question gets asked quite often here, see my reply here, hope that clarifies the problem:
1 Like
@Andres_Vaquero yeah i was looking at it as @colshrapnel pointed to it!
my mistake was using
$lasturl = trim($lasturl, 'location');
$lasturl = explode('location', $lasturl);
$page_path = end($lasturl);
instead using unique variables like this
$var1 = trim($lasturl, 'location');
$var2 = explode('location', $var1);
$page_path = end($var2);
But Thanks!
And thanks to everyone that tried to help
1 Like
Use the correct variable in the coding part.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.