How to url rewriting in php

Please log in or register to like posts.

                        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>

Reactions

0
0
0
0
0
0
Already reacted for this post.

Reactions

Leave a Reply

Your email address will not be published. Required fields are marked *