How to change the get method url in php. Here is my code
<form method="get" action="offers.php">
Name :<input type="text" name="name"><br>
Subject : <input type="text" name="sub"><br>
<input type="submit" value="Submit">
</form>
and in offers.php file code
<?php
$name = $_REQUEST['name'];
$subject = $_REQUEST['sub'];
?>
After giving the input values shows url "http://localhost/htaccess/offers.php?name=raj&sub=kumar" but i want to show the url is http://localhost/htaccess/raj/kumar. How to solve this issue. how to convert this url. Here raj and kumar are input given values not for default.