code:

```
 <?php
    $query = "select * from latest_news limit 0,10";
    $fet = mysqli_query($link,$query);
    while ($fetch = mysqli_fetch_array($fet)) 
    {
 ?>
 <p id="news-h3"><?php echo $fetch['news_title']; ?>...<a href="news-details.php?news_tags=<?php echo $fetch['news_tags']; ?>" style="color:red;">[Read More]</a></p>
 <?php
     }
 ?>

```

When I click on link i.e. 

```
<a href="news-details.php?news_tags=<?php echo $fetch['news_tags']; ?>" style="color:red;">[Read More]</a>

```

It show 

```
best%20engineering%20college%20in%20India

```

Here, I want to replace %20 with (-) from url and get result like

```
best-engineering-college-in-India

```

how can I fix this problem please help.

Thank you