Welcome Guest, Not a member yet? Register   Sign In
Auto detecting urls inside text - urls have some arabic letters
#2

You need to URL encode the tag to get it to work with auto_link. It looks like this works, at least for this simple example.


Code:
$this->load->helper('url');
$url = "https://soundeals.com/community/tag/";
$tag = "ميكروفون";
echo urldecode(auto_link($url . urlencode($tag)));
Reply


Messages In This Thread
RE: Auto detecting urls inside text - urls have some arabic letters - by zploskey - 03-09-2017, 10:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB