Originally Posted by milanello72
How could I display a URL with dash?
I want to transform calcioitalia/teams/1/Juventus F.C. Torino.html in
$team = str_replace("%20", "-", $id_team);
But, if you want a bit more than that, and you probably do, if you are working with URLs, you should take a look at the urlencode() function.
$team = urlencode($id_team)