How to url rewriting in php

                        How to url rewriting in php



previouse url :http://localhost/ajax/test.php?id=1

after .htaccess file :

http://localhost/ajax/test/1

See Code


<tr>
<td><a href="test/<?=$row['id']; ?>"></a></td>
<td><?=$row["email"]; ?></td>
<td><?=$row["phone"]; ?></td>
<td><?=$row['address']; ?></td>

</tr>


No comments